Permalink
Commits on Jun 13, 2014
Commits on Jun 6, 2014
  1. DJSON-17: Throw on infinite or NaN floating-point values

    IETF RFC 7159 (JSON) does not permit Infinity and NaN as numeric
    values.  http://tools.ietf.org/html/rfc7159#section-6
    
    To render Infinity or NaN as strings, use a custom value-fn.
    
    http://dev.clojure.org/jira/browse/DJSON-17
    stuartsierra committed Jun 6, 2014
Commits on Jan 10, 2014
  1. README: fix capitalization

    stuartsierra committed Jan 10, 2014
  2. DJSON-13: newline & flush output after pprint

    Makes clojure.data.json/pprint behave more like clojure.pprint/pprint,
    including the fix for CLJ-987.
    
    clojure.data.json/pprint now flushes the output stream and ensures
    that its output ends with a newline. This is a small change in
    behavior.
    stuartsierra committed Jan 10, 2014
  3. README: Update change log

    stuartsierra committed Jan 10, 2014
Commits on Aug 30, 2013
Commits on Aug 7, 2013
Commits on Aug 2, 2013
  1. DJSON-9: Optionally escape special separator characters

    Even when :escape-unicode is false, users may want to escape the
    Unicode separator charators U+2028 and U+2029, which are valid in pure
    JSON but not valid in JavaScript strings.
    
    See http://timelessrepo.com/json-isnt-a-javascript-subset
    
    Original patch contributed by Tim McCormack.
    stuartsierra committed Aug 2, 2013
Commits on Apr 23, 2013
Commits on Apr 7, 2013
Commits on Mar 28, 2013
  1. Print to provided output stream in deprecated 'write-json'

    Originally reported by Benjamin Teuber in a GitHub pull request:
    #9
    stuartsierra committed Mar 28, 2013
Commits on Jan 26, 2013
  1. Document 0.2.1 release in README

    Also recommend against 0.2.0 release due to incompatibility between
    0.2.0 and 0.1.x APIs.
    stuartsierra committed Jan 26, 2013
Commits on Jan 18, 2013
  1. Remove tests for specific error messages

    Even though that was the point of the previous commit, I don't want to
    declare that any specific error message string is part of the public
    API. Only the type of the exception is specified.
    stuartsierra committed Jan 18, 2013
Commits on Oct 26, 2012
Commits on Oct 25, 2012
  1. Add compatibility shim for 0.1.x API functions

    The file is loaded at the bottom of json.clj because all of json.clj
    has to be loaded before the compatibility functions can be loaded.
    stuartsierra committed Oct 25, 2012
Commits on Oct 23, 2012
Commits on Oct 12, 2012
Commits on Oct 5, 2012