Loading ...
Sorry, an error occurred while loading the content.

1336SV: [json] Re: Why we have to waist our time for Date parsing?

Expand Messages
  • Jakob Kruse
    Aug 11, 2009
    • 0 Attachment
      Andrea,

      I fail to understand what exactly you aim to prove on that page, but that is besides the point. You seem to argue that special features (incorporating the use of one of Crockfords declared ultimate evils: eval) should be included into a JSON parsing library created by same Crockford, in order to better support the parsing of dates – a non-feature of JSON.

      I think it is safe to say you are fighting a lost cause.

      If you really want to speed things up, don’t let the JSON parser do date deserializing. Keep your dates as strings as long as possible, and only deserialize them (using whichever method you fancy) when you need them. I’m quite sure that will improve speed even more than your suggestion.

      Kind regards,
      Jakob

      Fra: json@yahoogroups.com [mailto:json@yahoogroups.com] På vegne af Andrea Giammarchi
      Sendt: 11. august 2009 17:57
      Til: json@yahoogroups.com
      Emne: Re: [json] Re: Why we have to waist our time for Date parsing?


      I wrote a page days ago which aim is to demonstrate there was nothing
      hypothetical:
      http://www.3site.eu/jstests/json/

      Would be nice to receive an answer or a test that demonstrate I was wrong.

      Regards

      [Non-text portions of this message have been removed]
    • Show all 3 messages in this topic