Firehose - Convert commit contents to JSON format #168
-
While it is possible to create a recursive function which parses all objects into JSON format, would be great to have an easier/official way.
|
Beta Was this translation helpful? Give feedback.
Answered by
MarshalX
Sep 24, 2023
Replies: 2 comments 2 replies
-
Pls show the code when it tells about not setealiziblr objects |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is the part of the code that tells about not serializable objects most frequently.
I created this function to parse/convert and works okay so far:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The correct way is to use this method https://atproto.blue/en/latest/atproto/atproto.xrpc_client.models.utils.html#atproto.xrpc_client.models.utils.get_model_as_json
Of course you should manually handle lists