Skip to content

Conversation

@guuskuiper
Copy link

See issue #76.

This should be all the store metadata needed to implement a store in other languages and use that to synchronize to a store implemented in c++.

@guuskuiper guuskuiper requested a review from jhrutgers October 6, 2025 08:28
@guuskuiper guuskuiper changed the title Add json export template Add yaml / json export template Oct 27, 2025
@guuskuiper
Copy link
Author

How does libstored handle booleans? For the YAML export I'm now assuming it should be exported as 'true' or 'false'. This is done by converting the init value (which can be a number) to a python bool first. This prevent the init value being exported as 10 for example for a variable of type boolean.

TestStore.st

bool=10		init bool 10

@guuskuiper
Copy link
Author

guuskuiper commented Oct 27, 2025

The conversion to YAML scalers (value) could be improved by using the PyYAML package. Not sure if we want to add that dependencies, since only a subset of YAML is used here.

@guuskuiper guuskuiper changed the base branch from main to dev_v2 October 27, 2025 13:03
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.

1 participant