Note: JsonNode.parse will parse all floating point numbers into BigDecimal but this can be used for explicit doubles
Note: JsonNode.parse will parse all floating point numbers into BigDecimal but this can be used for explicit floats
Produces a JsonNode
This creates a Jackson JsonParser for a given JsonNode.
Ignore fields with null values
Ignore boolean fields with a value of false
Ignore numeric fields with a value of zero
Ignore objects that have no members
Ignore arrays that have no elements
Use pretty formatting (when applicable).
Experimental implicits with the goal of making it easier to build up Json Objects/Arrays
Experimental implicits with the goal of making it easier to build up Json Objects/Arrays
Subject to change
This creates a Jackson JsonParser for a given JsonNode.
This is a quick and dirty implementation that probably needs some work.
Note: If you are trying to parse a JsonNode from a JsonParser then use the JsonNode.parse() method.
The JsonNode to create a JsonParser for