-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Needed
-
Added support to only convert strings that could be Json Objects or Arrays.
This is useful for processing extended Json, as previously numeric looking strings were automatically converted.
Updated config: convertJson
Now accepts: false, any, objectOrArrayOnly
Examples:
convertJson=any "{a: 1}" => {a: 1} "[1, 2, 3]" => [1, 2, 3] "true" => true "0122345" => 12345 "{a:b:c}" => "{a:b:c}" convertJson=objectOrArrayOnly "{a: 1}" => {a: 1} "[1, 2, 3]" => [1, 2, 3] "true" => "true" "0122345" => "012345" "{a:b:c}" => "{a:b:c}"
Note: convertJson=true is now deprecated in favor of any