Skip to content

Ddiidev/Json2V

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Convert a json to a struct in Vlang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published