Skip to main content

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

  • From: Jitendra Kotamraju < >
  • To:
  • Subject: [json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?
  • Date: Wed, 07 Nov 2012 10:49:49 -0800

On 11/06/2012 09:48 AM, Tatu Saloranta wrote:
On Tue, Nov 6, 2012 at 3:36 AM, wenshao 
< >
 wrote:
It can works even if orders varies or fields are missing(null not
serialized), if fields are missing and order is correct, also best
performance.
Same can be achieved at data-binding level too. I do this with a
Jackson extension.
It can be achieved even if there is layering; although obviously needs
some support at streaming API (matchName() for example).
Let me understand more. matchName() would directly compare with the internal
parsing buffers of the tokenizer and the tokenizer *doesn't* create a string in
this method. Otherwise, matchName() would be same as calling the parser API's
getString() and comparing with it.

What about matchNameAndInt() method, are they implemented similarly ?


This is not to say that you could not benefit from tighter-coupling
between tokenizer and data-binder: you probably can. And fast-json
does this very, I have measure it. Good job!

Still, it is not clear which parts are due to tight coupling, and
which from just fast implementation of pieces.
Same here.

Jitu



[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

(continued)

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Tatu Saloranta 11/03/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Jitendra Kotamraju 11/05/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

wenshao 11/05/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Tatu Saloranta 11/05/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

wenshao 11/06/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Jitendra Kotamraju 11/06/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

wenshao 11/06/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Eugen Cepoi 11/06/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

wenshao 11/06/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Tatu Saloranta 11/06/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Jitendra Kotamraju 11/07/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Tatu Saloranta 11/07/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

wenshao 11/08/2012

[json-processing-spec users] Re: how to modify an existing JsonObject/JsonArray?

Jitendra Kotamraju 11/08/2012
 
 
Close
loading
Please Confirm
Close