[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Standards for JSON decoders
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 15 Jun 2017 16:25:25 +0200
Is the Lua representation of JSON reasonably standard across decoders
by now? The one I use [1] translates integers to integers; floats to floats;
strings to strings; arrays and objects to tables, distinguished by
their metatables. There is one metatable for all JSON objects and
another for all JSON arrays. Those metatables are not functional,
they merely contain fields that identify to which JSON type the table
corresponds.
Do other JSON decoders do this differently?
[1] rapidjson