Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 975 Bytes

README.md

File metadata and controls

52 lines (29 loc) · 975 Bytes

Json2V

A more complex real json that I got and tested was this one -> CNPJ brasilapi

Converts a json into a structure in Vlang.

The generated code can have sums of types, structs and Any{}(empty)

  • Key and value simple.
  • SumTypes for array with multiple types.
  • New structures for each object key.
  • Reserved word with _ or @.
  • Omitempty.
  • Structs anonymous.
  • Property name replacement.



Start of the project



screenshot



Second stage



screenshot



End of project



screenshot


Stack utilizada

Front-end: pico.css, lodash

Icon: favicon

Code editor: ace

fonts: google fonts