Skip to content

Pass in data, recieve a schema that knows which fields are optional, etc.

Notifications You must be signed in to change notification settings

aaron-makowski/JSON-Schema-Abstractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RUST based schema abstraction

What it does

tl;dr: You feed in a bunch of JSON and it abstracts a schema from it and can validate data against that schema.

  • Finds the optional and mandatory fields
  • Determines field types/range of types
  • Stores Master Schema to validate data against in the future

This project was my first RUST endeavor and I learned a lot of low level concepts that I missed out on by learning C++/JAVA in highschool rather than delving into C at all.

I have included the /project context/ folder, which is the abstractor in the context of the actual OpenFaaS serverless function (.tomls, etc) libs.rs & schema_gen.rs are the main code files and included at the top level for convenience

About

Pass in data, recieve a schema that knows which fields are optional, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published