Skip to content

Best way to serialize an Interchange to JSON? #328

Answered by pbuslaev
orionarcher asked this question in Q&A
Discussion options

You must be logged in to vote

Use Interchange.json(). This is supported since Interchange is inherited from BaseModel of pydantic. Though it is not very well tested

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@orionarcher
Comment options

@mattwthompson
Comment options

Answer selected by orionarcher
Comment options

You must be logged in to vote
4 replies
@mattwthompson
Comment options

@orionarcher
Comment options

@mattwthompson
Comment options

@orionarcher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants