If you want to make CLOS objects in common lisp printable (print readably), how do you go about doing this without using anything but print and read.
相关问题
- Json.NET deserializing contents of a JObject?
- Generating powerset in one function, no explicit r
- Drakma and Dexador both fails at USocket call whil
- Serializing a serialized Thrift struct to Kafka in
- GeoDjango: Distance Object is not serializable
相关文章
- serializing a list of objects into a file in java
- Convert C# Object to Json Object
- When sending XML to JMS should I use TextMessage o
- Custom serialization for fields in Rails
- Do I need to expose a constructor in a WCF DataCon
- How to serialize Xml Date only from DateTime in C#
- Does learning one Lisp help in learning the other?
- Common Lisp: Why does my tail-recursive function c
There are two parts to doing this, at least in my solution, however you will need this function (thanks to the guys at cl-prevalence for this (warn LLGPL)
Then, for reading you will need to run this piece of code, which sets up 1/2 of the syntax which is
{ type-of-object ((slot-name . slot-value) (slot-name . slot-value) ...)
For printing, use
A
*print-readably*
is highly recommended when using all these methods. Also, note that circular relationships are untested