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
Having the ability to convert a properly formatted JSON string into a schema is great. But it'd work better if the reverse were also possible. Currently if you try to run a schema through json.Marshal, you get something similar to this:
Having complimentary functions to vjson.ReadFromBytes(), vjson.ReadFromString(), vjson.ReadFromFile() such as schema.WriteToString(...), schema.WriteToBytes(...), and schema.WriteToFile(...) would enable the proper backing up and restoring of these schemas.
The text was updated successfully, but these errors were encountered:
Dear @brocococonut
Your requested feature is implemented. you can use json.Marshal method in the standard library in order to create a backup of your schema.
Having the ability to convert a properly formatted JSON string into a schema is great. But it'd work better if the reverse were also possible. Currently if you try to run a schema through
json.Marshal
, you get something similar to this:Having complimentary functions to
vjson.ReadFromBytes()
,vjson.ReadFromString()
,vjson.ReadFromFile()
such asschema.WriteToString(...)
,schema.WriteToBytes(...)
, andschema.WriteToFile(...)
would enable the proper backing up and restoring of these schemas.The text was updated successfully, but these errors were encountered: