Comments (5)
as a side note, this issue (together with this one) was uncovered while testing cl-transit, which uses jzon for the JSON part.
from jzon.
Hi - Yes, jzon used to be clever about things like dotted pairs but it was scaled back. Instead it only encodes proper lists.
But I am a fan of "it just works". What do you believe a dotted pair should stringify to?
from jzon.
IMO a dotted pair ought to be encoded as is a list with 2 elements in it, and produce a JSON array of 2 elements
from jzon.
Alright. I appreciate it. I'll look through my notes later to see what past me had to say about this and get back to you.
I don't see the harm now that we don't do fancy alist/plist heuristic detection.
Thanks. And thanks again for the float report - I can't believe I forgot to test the trivial case on that one. Embarrassing.
from jzon.
Alright. I appreciate it. I'll look through my notes later to see what past me had to say about this and get back to you. I don't see the harm now that we don't do fancy alist/plist heuristic detection.
Thanks. And thanks again for the float report - I can't believe I forgot to test the trivial case on that one. Embarrassing.
haha no worries -- these things happen! thank you for contributing JZON
from jzon.
Related Issues (20)
- CCL/LW/ACL: DEFCONSTANT needs an EVAL-ALWAYS HOT 5
- FLOAT-FEATURES are loaded in a very very dramatic manner HOT 2
- Investigate better binary data support HOT 1
- Better subsequence support
- Tests failed on ECL for v1.0.0 HOT 11
- Automated tests for ECL
- Automated tests for CCL
- quicklisp's jzon does not compile in allegro common lisp HOT 2
- Non-square multi-dimensional arrays stringifying incorrectly
- bug when `stringifying` exponent markers HOT 5
- STRINGIFY a class doesn't work with LispWorks 8.0.1 HOT 3
- Add with-writer-to-string HOT 3
- Can't load it into CLISP HOT 6
- Cannot stringify double-floats in LispWorks 8.0.1 HOT 7
- Cannot `jzon:parse` from pathname on LispWorks
- Shouldn't test precision of short-float on non-integer-divided-by-power-of-2 (maybe intended to test single-float) HOT 1
- Add installation instructions to README HOT 1
- ECL test failure: type mismatch `character` vs `base-char` HOT 4
- Is there a way to convert lisp case to camel case? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jzon.