| Package | system.serializers.eden |
| Class | public class EdenSerializer |
| Inheritance | EdenSerializer Object |
| Implements | Serializer, Serializable |
| Property | Defined By | ||
|---|---|---|---|
| config : EdenConfigurator [read-only]
The config reference of the eden serializer. | EdenSerializer | ||
| indentor : String
Indicates the indentor string representation. | EdenSerializer | ||
| prettyIndent : int
Indicates the pretty indent value. | EdenSerializer | ||
| prettyPrinting : Boolean
Indicates the pretty printing flag value. | EdenSerializer | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new EdenSerializer instance. | EdenSerializer | ||
addAlias(alias:String, value:String):Boolean
Inserts a new alias in the dictionary. | EdenSerializer | ||
addAuthorized(... arguments):void
Inserts an authorized path in the white list of the parser. | EdenSerializer | ||
deserialize(source:String):*
Parse a string and interpret the source code to the correct ECMAScript construct. | EdenSerializer | ||
removeAlias(alias:String):Boolean
Remove a specific alias in the dictionary. | EdenSerializer | ||
removeAuthorized(... arguments):void
Removes an authorized path in the white list of the parser. | EdenSerializer | ||
serialize(value:*):String
Serialize the specified value object passed-in argument. | EdenSerializer | ||
toSource(indent:int = 0):String
Returns the source code string representation of the object. | EdenSerializer | ||
| config | property |
config:EdenConfigurator [read-only] The config reference of the eden serializer.
public function get config():EdenConfigurator| indentor | property |
indentor:StringIndicates the indentor string representation.
public function get indentor():String public function set indentor(value:String):void| prettyIndent | property |
prettyIndent:intIndicates the pretty indent value.
public function get prettyIndent():int public function set prettyIndent(value:int):void| prettyPrinting | property |
prettyPrinting:BooleanIndicates the pretty printing flag value.
public function get prettyPrinting():Boolean public function set prettyPrinting(value:Boolean):void| EdenSerializer | () | Constructor |
public function EdenSerializer()Creates a new EdenSerializer instance.
| addAlias | () | method |
public function addAlias(alias:String, value:String):BooleanInserts a new alias in the dictionary.
Parameters
alias:String | |
value:String |
Boolean — A boolean to indicates if the alias is registered or not.
|
| addAuthorized | () | method |
public function addAuthorized(... arguments):voidInserts an authorized path in the white list of the parser.
Parameters
... arguments |
| deserialize | () | method |
public function deserialize(source:String):*Parse a string and interpret the source code to the correct ECMAScript construct.
Example :
"undefined" --> undefined
"0xFF" --> 255
"{a:1,b:2}" --> {a:1,b:2}
Parameters
source:String |
* — a string representing the data.
|
| removeAlias | () | method |
public function removeAlias(alias:String):BooleanRemove a specific alias in the dictionary.
Parameters
alias:String |
Boolean — A boolean to indicates if the alias is unregistered or not.
|
| removeAuthorized | () | method |
public function removeAuthorized(... arguments):voidRemoves an authorized path in the white list of the parser.
Parameters
... arguments |
| serialize | () | method |
public function serialize(value:*):StringSerialize the specified value object passed-in argument.
Parameters
value:* |
String |
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code string representation of the object.
Parameters
indent:int (default = 0) |
String — the source code string representation of the object.
|