You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After looking the source code of the installed ryml package I installed locally and testing various things, I still can't wrap my head around how to use this library in Python. I've tried to understand from this file, but I fail to see how I can use the Tree object that the parse_in_arena function returns. I would expect parse_in_arena to return one of the builtin Python data type, e.g. dict, list, str, etc. as other YAML parsing libraries do (e.g. ruamel.yaml, pyyaml).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After looking the source code of the installed
ryml
package I installed locally and testing various things, I still can't wrap my head around how to use this library in Python. I've tried to understand from this file, but I fail to see how I can use theTree
object that theparse_in_arena
function returns. I would expectparse_in_arena
to return one of the builtin Python data type, e.g.dict
,list
,str
, etc. as other YAML parsing libraries do (e.g.ruamel.yaml
,pyyaml
).Do you have any pointers?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions