Skip to content

Matzo/jpon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPON

edit a JSON with specified format.

Here is JPON Demo.

Template Types

type namedata typeform
stringStringinput[type=text]
string-multiStringtextarea
numberint or floatinput[type=text]
booleanbooleaninput[type=radio]
selectStringinput[type=radio]
select-multiArray<String>input[type=checkbox]
mapObject
listArray

Sample Template

{
    filename : "sample.json",
    template : {
        type:"map",
        value:[
            {
                name:"hello",
                type:"map",
                value:[
                    { name:"foo", type:"string" },
                    { name:"bar", type:"string-multi" }
                ]
            }
        ]
    }
}

This template build following JSON.

{
  "hello":{
    "foo":"***",
    "bar":"***"
  }
}

About

edit a JSON with specified format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published