1 | initial version |
Do you want the internal representation of your object, a sage command that recreates the object, or a human-readable representation? Depending on your needs you'd want very different JSON objects, so there is no one-size-fits-all solution to your question. Essentially you'll have to write your own depending on your needs.