luajson icon indicating copy to clipboard operation
luajson copied to clipboard

JSON parser/encoder for Lua Parses JSON using LPEG for speed and flexibility. Depending on parser/encoder options, various values are preserved as best as possible.

Results 11 luajson issues
Sort by recently updated
recently updated
newest added

The project could not be analyzed because of maven build errors. Please review the [error messages here](https://depshield.sonatype.org/error/harningt/luajson/2KoKwK0cw7NJ3rECeNvsQg). Another build will be scheduled within 24 hours. If the build is successful...

```make Installing https://luarocks.org/luajson-1.3.4-1.src.rock Do not use 'module' as a build type. Use 'builtin' instead. luajson 1.3.4-1 is now installed in /opt/local/share/luarocks (license: MIT/X11) ```

This change adds an option `array.ignoreLength` which, when set to `true`, prevents adding `n` to tables decoded from arrays with `null` or `undefined` entries, such as `"[null,42]"`. This allows iterating...

Plz **add good enough examples and, or use cases to the README or a separate document**. It's working fine and removes linefeed or \0xA0 as well, I mistakenly reported here...

Sanity-check modules, such as strict or pl.strict should be used for cleanliness checks in the unit tests.

The parser should return some sort of details about how parsing failed. For example, if trailing commas are denied, the string "[true, ]" should return the fact that trailing commas...

next
enhancement
reduced-priority

The output mechanism should support pretty-printing. Example output can be found at: - http://www.jsonlint.com/ - http://docs.python.org/library/json.html From the python library, sorted object keys is also a desirable feature.

next
enhancement
reduced-priority

Surrogate pairs as described in the title will be decomposed into a pair of 3-byte utf-8 encoded chunks that are technically invalid. These should be decomposed into a 4-byte utf-8...

enhancement
reduced-priority

I was trying to run a code from `lmod` which imported this pacakge's `json` module by default. However, probably because of the use of `strict`, the import fails to run:...