|
parse. Parsing JSON string into hash
|
|
|
Default
|
Value
|
|
$.depth(number)
|
19
|
Maximum depth
|
|
$.double(true|false)
|
true
|
true - Stores numbers as objects of class double.
false - Stores numbers as strings. |
|
$.distinct[first|last|all]
|
not defined
|
The way of processing elements with identical names:
first - Only the first element will be stored in output. last - Only the last element will be stored in output. all - All elements will be stored in output. Elements starting from the second will have suffixes _2, _3, etc. default - elements with identical names are considered error (exception). |
|
$.object[method name]
|
not defined
|
If defined the specified method will be called for every parsing element. The result of the method will be passed to output. The method must accept two parameters - name and value.
|
| Copyright © 19972011 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 20.04.2011 |