Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jan 10, 2014

  1. Stuart Sierra

    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.
    authored January 10, 2014
  2. Stuart Sierra

    DJSON-14: handle EOF inside character escape

    authored January 10, 2014

Aug 30, 2013

  1. Stuart Sierra

    Rename 'separators' to 'js-separators'; see DJSON-9

    authored August 30, 2013

Aug 07, 2013

  1. Stuart Sierra

    Remove extraneous whitespace in docstring

    authored August 07, 2013
  2. Stuart Sierra

    Clarify docstrings for :value-fn

    authored August 07, 2013

Aug 02, 2013

  1. Stuart Sierra

    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.
    authored August 02, 2013
  2. Andy Fingerhut

    DJSON-11: Fix printing of unnecessary commas with value-fn

    Adds state to loop remembering whether any key/value pairs have been
    printed before, to distinguish whether to print a comma or not.
    
    Changes test case to use sorted-map, both for determinism in the
    order, and to exhibit the bug with the uncorrected version of
    write-object.
    
    Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
    authored May 17, 2013 stuartsierra committed August 02, 2013

Apr 03, 2013

  1. Andy Fingerhut

    DJSON-7: Omit comma after key/value pairs removed by :value-fn

    Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
    authored January 21, 2013 stuartsierra committed April 02, 2013

Mar 28, 2013

  1. Stuart Sierra

    Print to provided output stream in deprecated 'write-json'

    Originally reported by Benjamin Teuber in a GitHub pull request:
    #9
    authored March 28, 2013

Jan 18, 2013

  1. Changed exception message for EOF in string literal

    Signed-off-by: Stuart Sierra <mail@stuartsierra.com>
    authored December 14, 2012 stuartsierra committed January 18, 2013

Oct 26, 2012

  1. Stuart Sierra

    Avoid clojure.lang.BigInt as literal to support 1.2.x

    authored October 26, 2012
  2. Stuart Sierra

    Check for clojure.lang.BigInt to support Clojure 1.2.x

    authored October 26, 2012

Oct 25, 2012

  1. Stuart Sierra

    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.
    authored October 25, 2012

Oct 23, 2012

  1. Stuart Sierra

    Use old metadata syntax for Clojure 1.2.x compatibility

    authored October 22, 2012

Oct 05, 2012

  1. Stuart Sierra

    Rename 'str' to 'write-str'

    * Having a function named 'str' was just too confusing
    authored October 05, 2012
  2. Stuart Sierra

    Rename functions for terseness: read, read-str, write, str

    authored October 05, 2012
  3. Stuart Sierra

    Remove last redundant calls to .read in parser

    authored October 05, 2012
  4. Stuart Sierra

    Automatically wrap Reader in PushbackReader in 'parse'

    authored October 05, 2012
  5. Stuart Sierra

    Rename parse-string to parse-str

    authored October 05, 2012
  6. Stuart Sierra

    Rename back to clojure.data.json in preparation for release

    authored October 05, 2012

Sep 14, 2012

  1. Stuart Sierra

    Fix pprint to work with new calling options

    * Except :value-fn which doesn't quite fit into pprint's
      calling model
    authored September 14, 2012
  2. Stuart Sierra

    Still throw exceptions on nil keys

    authored September 14, 2012
  3. Stuart Sierra

    Add key-fn and value-fn to writing

    authored September 14, 2012
  4. Stuart Sierra

    Add key-fn and value-fn to parsing

    authored September 14, 2012
  5. Stuart Sierra

    Fix error message in JSON object parsing

    authored September 14, 2012
  6. Stuart Sierra

    Update copyright notice in source

    authored September 14, 2012
  7. Stuart Sierra

    Docstrings

    authored September 14, 2012

Aug 24, 2012

  1. Stuart Sierra

    Cleanup protocol extensions, docstrings

    authored August 24, 2012
  2. Stuart Sierra

    Handle bigints, remove unused type hints

    authored August 24, 2012
  3. Stuart Sierra

    More cleanup, docstrings

    authored August 24, 2012
  4. Stuart Sierra

    More cleanup, rename writer functions

    authored August 24, 2012
  5. Stuart Sierra

    Cleanup, move file to json_new.clj for testing

    * Remove extraneous .read in recur
    * Make 'keywordize' a dynamic var, set once as an option
    authored August 24, 2012

Aug 10, 2012

  1. Stuart Sierra

    Eliminate protocol, don't use Clojure reader for numbers

    Parsing Doubles appears to be a performance drag now
    authored August 10, 2012
  2. Stuart Sierra

    Do not gather up true/false/null in vectors

    This also should yield a slight performance improvement, but also very
    hard to measure.
    authored August 10, 2012
  3. Stuart Sierra

    Use 'case' with integers instead of 'cond'

    This may yield a slight performance improvement, but it is barely
    measurable.
    authored August 10, 2012
Something went wrong with that request. Please try again.