json-mop
A metaclass for bridging CLOS and JSON objects (by gschjetne)
json-mop | gnuxie.annotations | |
---|---|---|
2 | 2 | |
60 | - | |
- | - | |
5.8 | - | |
3 months ago | - | |
Common Lisp | ||
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-mop
Posts with mentions or reviews of json-mop.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-08.
-
OpenAPI Client Generator
Hey guys, I want to share my common lisp project openapi-generator (github) to create asdf-loadable clients from OpenAPI/Swagger Specification files in one command. It uses json-mop for parsing the spec into a CLOS object. This object is then used for generating the system.
-
Create CLOS classes from json-schema?
From awesome-cl, there is json-mop but lack the experience to comment!
gnuxie.annotations
Posts with mentions or reviews of gnuxie.annotations.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-25.
-
Create CLOS classes from json-schema?
The library uses my own incorporation of json-mop called json-clos, which is a re-write to make json-mop JSON encoder/decoder independent, but iirc i do some inefficient things with the mop (not that it's a problem because there is an API to generate serialization methods anyways) and I stopped developing it because I became dissatisfied with how metaclasses were being used by library authors to create an adhoc annotation system each time. (This is not some sort of aggression against CL, it's just someone should just write one library for annotations and be done with it, I gave that a try too and am willing to discuss that with people if they are interested, ie they should talk to me if they want to do it). See this but honestly I have probably changed my mind about this a lot since I last wrote in here, and I probably say some stupid things. I guess that can all be forgiven though.
-
Use cases for CHANGE-CLASS in Common Lisp
If you have to add serialization information for many formats, then you should probably attempt to combine the information into one class. An annotation system could make that easier, as composing metaclasses and slot definition classes and whatnot is quite fiddly.
What are some alternatives?
When comparing json-mop and gnuxie.annotations you can also consider the following projects:
sheeple - Cheeky prototypes for Common Lisp
ultralisp - The software behind a Ultralisp.org Common Lisp repository
json-clos
json-schema2
openapi-generator - OpenAPI client system generator.