json

Free library that will allow developers to parse JSON texts and generate them from Ruby data structures
Download

json Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Florian Frank
  • Publisher web site:
  • http://rubyforge.org/users/flori/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 111 KB

json Tags


json Description

Free library that will allow developers to parse JSON texts and generate them from Ruby data structures json is a implementation of the JSON specification according to RFC 4627. You can think of it as a low fat alternative to XML, if you want to store data to disk or transmit it over a network rather than use a verbose markup language. Both variants of the JSON generator escape all non-ASCII an control characters with uXXXX escape sequences, and support UTF-16 surrogate pairs in order to be able to generate the whole range of unicode code points. This means that generated JSON text will be encoded as UTF-8 (because ASCII is a subset of UTF-8) and at the same time it will avoid decoding problems for receiving endpoints, that don't expect UTF-8 encoded texts. On the negative side this may lead What's New in This Release: · Wesley Beary reported a bug in json/add/core's DateTime handling: If the nominator and denominator of the offset were divisible by each other Ruby's Rational#to_s returns them as an integer not a fraction with '/'. This caused a ZeroDivisionError during parsing. · Use Date#start and DateTime#start instead of sg method, while remaining backwards compatible. · Supports ragel >= 6.0 now. · Corrected some tests. · Some minor changes.


json Related Software