Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The methods for converting JSON to datapoint are modified in "static". #1129

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

YmaIneo
Copy link
Contributor

@YmaIneo YmaIneo commented Jul 27, 2023

Added static methods, allowing you to create a Datapoint vector without creating or instantiating a datapoint object.

@MarkRiddoch
Copy link
Contributor

Hi, can I ask what problem you are trying to solve with this change please?

@YmaIneo
Copy link
Contributor Author

YmaIneo commented Aug 31, 2023

Hi, can I ask what problem you are trying to solve with this change please?

Hi, i think it's a shame to have to instantiate a Datapoint to convert JSON.
By adding static methods, it allows creating a Datapoint vector without creating or instantiating a datapoint object.

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