Represents JSON object.
Note: to parse string into JsonObject use [func-jsonparse].
get(key) ⇒ ?
-
Returns attribute value by the key. Value type depends on the type used in JSON.
key |
String |
Attribute key |
Return
Attribute value
keys() ⇒ Array
-
Returns attribute array
Return
Attribute array
serialize() ⇒ String
-
Returns string with serialized JSON
Return
String with JSON
set(key, value) ⇒ void
-
Sets attribute referenced by key to the given value.
key |
String |
Attribute key |
value |
String |
Attribute new value |