JSON Parsers

JSON Parsers

DBXJson, SuperObject, dwsJSON? Which is your poison? Has Dbx performance improved in XE5?

Comments

  1. Another interesting question would be if DBX correctness & stability has improved (it was the worst on that aspect)

    ReplyDelete
  2. Dbx, is that the n*s*bl sh*t that is linked into datasnap? Since i migrated from datasnap to RTC I have had time to focus on real problems. Ahem, add a lusty and humble tone to the above (on XE2 still).

    ReplyDelete
  3. Dany Marmur do you know mormot or sparcke from tms software?

    ReplyDelete
  4. No, before RTC i had a look at mormot. The narrower scope of RTC suited me better. HTH.

    ReplyDelete
  5. Using XSuperobject. Suitably impressed

    ReplyDelete
  6. Russell Weetch What's the difference between that and SuperObject? Is doesn't list any ancestry nor basic documentation, and that usually makes me a bit nervous.

    ReplyDelete
  7. Jeroen Wiert Pluimers not sure as I never used SuperObject. Maybe the X refers to cross platform? Whereas SuperObject was just Delphi? although SuperObject says it works with OSX

    ReplyDelete
  8. Russell Weetch my gut feeling indicates it is a fork of SuperObject.

    ReplyDelete
  9. Russell Weetch Yes, it is cross platform. It's pretty lightweight but seems to do exactly what it's supposed to do.

    ReplyDelete
  10. Perhaps, nothing really has changed in DBXJSON performance in XE6, though it should after the tests that A. Bouchez have conducted with his JSON replacement.

    You might want to add compression to reflected datasets to avoid large memory consumption both on the DataSnap REST server and client, look for Data.FireDACJSONReflect.pas for XE6 in http://qc.embarcadero.com/wc/qcmain.aspx?d=126914 attached project. It can be easily adapted to XE5.

    Is rewriting parts of DBX to incorporate JSON replacement at least doable?

    ReplyDelete
  11. Another compression mod to Data.FireDACJSONReflect.pas for XE6 http://blogs.embarcadero.com/fernandorizzato/index.php/2014/07/21/multi-tier-com-delphi-xe6-e-firedac-json-reflection/
    P.S. Actually it is not the other, it is the same mod. Yet the article describes TDSSupportZLib class to compress strings, but it is not clear where is it to be used in the code.

    ReplyDelete

Post a Comment