1
0
Fork
You've already forked mu-json
0
A tiny JSON parser for Common Lisp
  • Common Lisp 100%
Find a file
2026年07月08日 20:05:18 +02:00
doc - fixed docs. 2026年07月08日 20:03:30 +02:00
src - added some documentation; 2026年07月08日 20:00:53 +02:00
test - generated decoding function when expanding the macro 'define-entity'; 2026年07月08日 16:47:20 +02:00
Changelog - added Changelog. 2026年07月08日 20:05:18 +02:00
COPYING.LESSER - initial commit. 2026年07月03日 13:11:11 +02:00
LICENSE - initial commit. 2026年07月03日 13:11:11 +02:00
mu-json.asd - ensured parsing homogeneous nesting structures does not blow the stack; 2026年07月08日 16:13:55 +02:00
README.org - added some documentation; 2026年07月08日 20:00:53 +02:00

μ-json

A tiny JSON parser that try to adhere to the grammar described by the rfc8259.

Usage

A single function is exported it.twistfold.json-parser:parse with a single parameter, the string to be parsed.

On success an S-expression is returned, This expression maps the JSON object with the following rules.

Mapping

json lisp
string string
array array
object alist
number double float
true t
false nil
null :null

LICENSE

mu-json: a tiny JSON parser

Copyright © cage

The authors grant you the rights to distribute and use this software as governed by the terms of the Lisp Lesser GNU Public License http://opensource.franz.com/preamble.html, known as the LLGPL.

The files under test/test-parsing/ are Copyright © Nicolas Seriot

MIT License

Copyright (c) 2016 Nicolas Seriot

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NO WARRANTY

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.