Permalink
Commits on Nov 7, 2014
  1. Merge pull request #8 from agrostis/master

    Added ABCL as CLOS-capable implementation (fix #6).
    committed Nov 7, 2014
  2. Merge pull request #5 from AccelerationNet/master

    Fix too many recursiver errors on deeply nested alist structures
    committed Nov 7, 2014
Commits on Oct 2, 2014
Commits on May 7, 2014
  1. Fix too many recursiver errors on deeply nested alist structures

    This case was crashing threads in modern sbcl, if the json was
    large due to exceeding the maximum error depth
    
      (json:encode-json-alist-to-string
         (json:decode-json-from-string *json*))
    
     * Replace direct call in the error handler with restart invokation
     * fix bug where if the value of an alist-cell was an alist we wouldnt
       try parsing it as one (the cdr was a cons)
     * use symbol names for list encoder so that changes in the encoder
       (such as tracing adding break points) show up without having to
       switch that variable
    bobbysmith007 committed May 7, 2014
Commits on Nov 18, 2012
  1. added basic gitignore

    Henrik Hjelte committed Nov 18, 2012
  2. added nickname cl-json to package

    Henrik Hjelte committed Nov 18, 2012
  3. Version 0.5.0 mentioned in doc and asd

    Henrik Hjelte committed Nov 18, 2012
Commits on Nov 12, 2012
  1. Updated readme

    Henrik Hjelte committed Nov 12, 2012
  2. update html doc with git-repo

    Henrik Hjelte committed Nov 12, 2012
  3. Added README.md

    Henrik Hjelte committed Nov 12, 2012
Commits on Nov 4, 2012
  1. remove-read-from-string-from-parse-number

    Ignore-this: 61d7e8213b5e0fc764ebfbe7cc199c66
    
    PARSE-NUMBER used to use READ-FROM-STRING.  This was causing problems with
    some application-building systems. We replace use of the reader (through
    read-from-string) by PARSE-NUMBER.
    
    darcs-hash:20121104215254-b37ea-83714c5dde3da6e58d17766ea6311529e4bda293.gz
    rpgoldman committed Nov 4, 2012
  2. fix-fiveam-test-comparisons

    Ignore-this: 7fb473839da0e7ffbf84b6b4088cb91c
    
    FiveAM would like the expected value to be before the computed value, for
    best printing when tests fail.  I reversed the arguments to the
    JSON-NUMBER test to agree with this convention.
    
    darcs-hash:20121104214932-b37ea-135ea0b936bb9bc2d004a61599d964ee61389951.gz
    rpgoldman committed Nov 4, 2012
Commits on Oct 15, 2012
  1. reverse attempt to get project-members into html

    Ignore-this: 5a8fcdfbf7ee000417bea3b9e0796a3c
    
    darcs-hash:20121015163539-2eda4-62cb209ffbd1e31ff32807a5528d922023d6703b.gz
    henrik committed Oct 15, 2012
  2. project members in html attempt two

    Ignore-this: 6c745b04f127cab97ee6d42d82a0151b
    
    darcs-hash:20121015161517-2eda4-8521d30d6b47e092e4b9ac8106e8ee4d800d258d.gz
    henrik committed Oct 15, 2012
  3. add project members to html-page

    Ignore-this: 3d22ea621d68d90bb61c13daee5bac7a
    
    darcs-hash:20121015161203-2eda4-7b624a7b7040412f928ed8b1fa61406a43ccb9af.gz
    henrik committed Oct 15, 2012
Commits on Oct 14, 2012
  1. fix-test-after-method-bug-from-juanjo

    Ignore-this: 12cec5052070f37a2f72e4e5b0587c32
    
    juanjo (Juan Jose Garcia-Ripoli) found a bug in the binding of the
    *JSON-TEST-FILES-PATH* global.  Fixed by moving the initializer into
    the test code, and using the ASDF:SYSTEM-RELATIVE-PATHNAME function.
    
    At the same time, killed the testjson.lisp file, which does the testing
    as a side-effect of loading.  This is unnecessary because the testing
    is done in the PERFORM method of the TEST-OP.
    
    darcs-hash:20121014203847-b37ea-70f64a30a5c7f3ce5e2d4c01c3222ea12ed04bd8.gz
    rpgoldman committed Oct 14, 2012
Commits on Jun 25, 2011
  1. Added test case to check for exponent markers in float encodings.

    darcs-hash:20110625151708-b37ea-355c700aad0e97584c22866f1ac3c1afebc3d90f.gz
    rpgoldman committed Jun 25, 2011
  2. Added conditional compilations to kill Clozure etypecase warnings.

    darcs-hash:20110625151607-b37ea-bf783749252da7e5866b376ec10fca76ca214175.gz
    rpgoldman committed Jun 25, 2011
  3. Fixed typecase in ENCODE-JSON-NUMBER.

    darcs-hash:20110625030416-b37ea-f45ad0aa5a0ea9e392df3653637524f513402d6d.gz
    rpgoldman committed Jun 25, 2011
  4. bump-to-0.4.1

    darcs-hash:20110625000531-b37ea-33a4d39c47bfcac3acfa0d79fedf63c48ad02d1c.gz
    rpgoldman committed Jun 25, 2011
Commits on Jun 24, 2011
  1. Refactoring of the rational test in ENCODE-JSON-NUMBER, per Boris Smi…

    …lga.
    
    darcs-hash:20110624022244-b37ea-8b1575728f0c8118231e0ca4e2ca50771acb3c7e.gz
    rpgoldman committed Jun 24, 2011
Commits on Jun 23, 2011
  1. Add check for rationals to ENCODE-JSON-NUMBER, per Boris Smilga.

    darcs-hash:20110623144708-b37ea-d9321b1a8f53bfd78c6e15b0d330b1dd55ce73cf.gz
    rpgoldman committed Jun 23, 2011
  2. Tweak to Boris Smilga's ENCODE-JSON-NUMBER fix. Sort float subtypes f…

    …rom smallest to largest.
    
    darcs-hash:20110623010610-b37ea-ba69adcb53497502e31d4ae3ac26af85b390572c.gz
    rpgoldman committed Jun 23, 2011
  3. Better fix to ENCODE-JSON-NUMBER from Boris Smilga.

    darcs-hash:20110623005733-b37ea-bd2d34e74d7cba27b3e3736fe65b2627a7bdbb74.gz
    rpgoldman committed Jun 23, 2011
Commits on Jun 22, 2011
  1. Fix to ENCODE-JSON-NUMBER to remove D characters that break the JSON …

    …readers.
    
    darcs-hash:20110622211339-b37ea-e43f512825a5d6330c4b04695b638a6696d142d1.gz
    rpgoldman committed Jun 22, 2011
Commits on Jun 13, 2011
  1. Update html page

    Ignore-this: 9c948326a48610d42bf3bce9e6ab9ed3
    
    darcs-hash:20110613194142-2eda4-db331f86f9630a0f7f2903187acf7036df095f21.gz
    henrik committed Jun 13, 2011
Commits on Jan 15, 2010
  1. Killed some trailing whitespace.

    darcs-hash:20100115234144-b37ea-611eeec784fcb705a1694b8b1848a94aab97a32a.gz
    rpgoldman committed Jan 15, 2010
Commits on Jan 14, 2010
  1. add-json-rpc-2.0-support

    A large number of changes that provide json-rpc-2.0 support to
    cl-json.  Tests are included.
    
    darcs-hash:20100114024858-b37ea-79170f123f878bab89580228742102860b5930a9.gz
    rpgoldman committed Jan 14, 2010
  2. record-function-names-not-functions

      Originally, when one defined a function to be exported as a json-rpc
      function, the function object was cached in a hash table.  This made it
      very difficult to debug with the CL tracer, since the trace-encapsulated
      function wouldn't make it onto the function table.  However, this problem
      goes away with this patch, which caches the function /name/ (a symbol)
      instead of the function itself.  Since json-rpc functions are invoked
      with APPLY, nothing else need change.  Slightly less efficient, but
      JSON-RPC is never going to be that efficient anyway.
    
    darcs-hash:20100114024541-b37ea-6cbf64e6a3c7c2f1a6a3d0ef3c62f01b4294bb0f.gz
    rpgoldman committed Jan 14, 2010
Commits on Jan 13, 2010
  1. export-json-rpc-version-constants

    darcs-hash:20100113210938-b37ea-2a17ebd0757961a53050bd251207fa44eb4e1c88.gz
    rpgoldman committed Jan 13, 2010
Commits on Jan 10, 2010
  1. reorganized-json-rpc-encoding

    Reorganized JSON-RPC result encoding, using CLOS, to make it more flexible,
    along lines discussed on the mailing list.
    
    Also added /partial/ support for JSON-RPC 2.0.
    
    This support is not yet tested in the test suite.
    
    darcs-hash:20100110051821-b37ea-9e5c2e2612459c486253c91b20feea833f866b75.gz
    rpgoldman committed Jan 10, 2010
  2. fixed-allegro-reader-error

    darcs-hash:20100110051717-b37ea-8f1e9fa6f270ca341a9f3998952836bd356d624d.gz
    rpgoldman committed Jan 10, 2010
Commits on Jan 5, 2010
  1. catch-read-numeric-overflow-on-allegro

    On Allegro Common Lisp, when there's a numeric overflow in the reader,
    they don't signal a reader-error, but a simple-error (I have reported this
    and they may fix it in the future).  This patch makes use of information
    about that simple-error to catch the case in parse-number and treat it
    the way parse-number overflows are handled on other lisps.
    
    darcs-hash:20100105201756-b37ea-699f0644f511321c9970c997685f78c64a1ec573.gz
    rpgoldman committed Jan 5, 2010
Commits on Jan 2, 2010
  1. removed-allegro-from-some-tests

    Some tests don't work on allegro on macosx or on allegro simpliciter.
    These seem like limitations of allegro, so I have added features flags
    to mask them.
    
    darcs-hash:20100102221106-b37ea-23701ef4d39690714f85c2cd037d0380e68bf83e.gz
    rpgoldman committed Jan 2, 2010
Commits on Dec 30, 2009
  1. json-rpc-handle-notifications

    A couple of modifications to hande JSON-RPC notifications (like normal requests, but they
    don't expect a response).
    
    Also made it possible to invoke a helper function of invoke-json with the pieces of the
    request.  This is necessary because you can't use the standard invoke-rpc if you've
    already parsed the JSON message from the client.
    
    darcs-hash:20091230211756-b37ea-291c0ac880ce33534006a5c633c08f7d6fb9dc94.gz
    rpgoldman committed Dec 30, 2009