Trace Tue 23 Jan at 07:38:00
Flags JSONsan.php:66 SanitizeJson
debuggingTRUE
equalsTRUE
not naked decimalsFALSE
objectFALSE
onelineFALSE

Raw input JSONsan.php:93 SanitizeJson
0// An example of configuration file that is acceptable¶
1// to the SanitizeJSON function. Let's face it this¶
2// is a last resort.¶
3// ===================================================¶
4numbers = [1,2,3];¶
5welcome_message = "Hello world"¶
6days = {mon=1,tue=2,wed=3}; ¶
7decimal_numbers = [.1,.2,.3], // JSON requires zero before dot¶

Before text substitutions JSONsan.php:130 SanitizeJson
0Null string
1Null string
2Null string
3Null string
4,"numbers":[1,2,3],
5,"welcome_message":"Hello world"
6,"days":{,"mon":1,,"tue":2,,"wed":3},
7,"decimal_numbers":[.1,.2,.3],

Finished string (split on , for display) JSONsan.php:164 SanitizeJson
0{"numbers":[1,
12,
23],
3"welcome_message":"Hello world",
4"days":{"mon":1,
5"tue":2,
6"wed":3},
7"decimal_numbers":[ 0.1,
8 0.2,
9 0.3]}

Decoding message JSONsan.php:172 SanitizeJson No error
Finished object JSONsan.php:173 SanitizeJson
stdClass ()
numbers
01
12
23
welcome_messageHello world
days
stdClass ()
mon1
tue2
wed3
decimal_numbers
00.1
10.2
20.3