Hi,

shouldn't this throw an error instead of producing a broken JSON?

STON toJsonString: ({'a' -> 'b'})
["a":"b"]

(also STON toJsonString: ('a' -> 'b') => "a":"b")

Clearly I forgot to cast it to dictionary, but shouldn't it throw up?

Thanks,
Peter

Reply via email to