mjson icon indicating copy to clipboard operation
mjson copied to clipboard

Lean JSON Library for Java, with a compact, elegant API.

Results 20 mjson issues
Sort by recently updated
recently updated
newest added

You are creating a `topnull ` object in Json$NullJson class. `static NullJson topnull = new NullJson();` This instance is static and therefore, will never be garbage collected. Every time some...

The current release of MJSON (1.4.1) includes junit as a dependency in it's pom. This is surprising since it promises to have no dependencies. I see that it's actually been...

Hey , is it possible to pretty print Json as a string ? For now I found only 2 toString methods(default one and one with maxCharacters) and non of them...

Updated `HashMap` usages to use `LinkedHashMap` to preserve order of key insertion in Objects. AFAIK this is not part of the spec yet makes the behavior consistent with other JSON...

``` public Json delAt(String property) { Json el = object.remove(property); removeParent(el, this); return this; } ``` when there is no value for the property being deleted, the `removeParent` call leads...

The current default implementation of `Json.toString` will output an ellipsis (`...`) when the traversal is about to output the same object (same Java reference). This is to avoid circularity issues...

Parsing currently assumes we have the full document and it's a one short operation. But for processing streams of Json documents a user of mjson needs to do extra work...

For a predictable standard string serialization, we should use RFC 7159

v1.4.0 binary seems to be compiled with Java 7 (Unsupported major.minor version 51.0) Is there a binary version for Java 1.6? Thanks!