Add a key-value pair to folding
Add a key-value pair to folding
The key is key
, and the value is the result of com.rayrobdod.json.parser.Parser.parse on the provided input
.
the object to be added to. Must be either the return value of init or the return value of apply
the key of a key-value pair
the input to a parser
a parser for turning input into a value
An 'empty' object.
An 'empty' object. Can be thought of as either the value used at the start of a fold-left operation, or as an object filled with default values.
Change the type of key that this builder requires, with the option of indicating an error condition
Change the type of key that this builder requires, with the option of indicating an error condition
a conversion function from the new key to this's key
3.1
Change the type of value that this builder requires, with the option of indicating an error condition
Change the type of value that this builder requires, with the option of indicating an error condition
3.0
Change the type of key that this builder requires
Change the type of key that this builder requires
a conversion function from the new key to this's key
3.0
Change the type of value that this builder requires
Change the type of value that this builder requires
a conversion function from the new value to this's value
3.0
Create a Builder which builds two items from the same input.
Create a Builder which builds two items from the same input. The first
item built being the one that this
would build, and the second item
built being the one that that
would build.
Most useful if the Parser input is neither stable nor resendable - say a network stream.
the other builder
3.1
An object which takes a series of key-value pairs and combines them into an object using a series of fold-left style method calls.
the type of keys used by the Parser that this Builder will be used by
the type of primitive value types used by the Parser that this Builder will be used by
the type of object built by this Builder
3.0
com.rayrobdod.json.parser.Parser