Skip to content

Conversation

@Knight0132
Copy link

Create the function of serialization and deserialization with python to generate indoorjson

Copy link
Contributor

@kunlinyu kunlinyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the main idea of your code. But there are so many issues you need to solve. Most of them commented in the code.

graph.set_rlineses(rlines)

with open('test_created.json', 'w', encoding='utf-8') as f:
json.dump(graph.to_json(), f, indent=4)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why there are no "assert" or "expect" in your test code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants