DeSerialize PHPSerialized data to java Objects
- Serialized Array definition on http://www.phpinternalsbook.com/php5/classes_objects/serialization.html
- Serialized structure example: {"name"= "value","name"={"name"="value,"name"="value"}}
- getoption.. methods correct object or throws error for existing options and for wrong object type
- isOption... returns true or false
- getOptionsNames.... return filled - or empty set
- exportFieldMapToExcelCSVFile accepts String FileName
starts with a:
array [10, 11, 12]:" serialized as "a:3:{i:0;i:10;i:1;i:11;i:2;i:12;}"**
is implemented with integer as string name field as below
**[0 => "aaa", 1 => false]: a:2:{s:1:"0";s:3:"aaa";s:1:"1";b:0}**
- Test Object with properties:
O:4:"Test":3:{s:6:"public";i:1;s:12:"\0*\0protected";i:2;s:13:"\0Test\0private";i:3;} -
Test2 Object with his own serialization method
C:5:"Test2":6:{foobar} - internal reference
a:2:{i:0;s:3:"foo";i:1;R:2;} - internal reference
O:8:"stdClass":1:{s:3:"foo";r:1;}
example: {"name"= "value","name"={"name"="value,"name"="value"}}
structure: {nameValuePair, .....}
nameValuePair is "name"= value
value is
- structure {...}
- String "..."
\" between "" represents a " - Null
- true
- false
- any sequence of characters until the next , or }