Skip to content

jjpmann/ee-json-field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Field

JSON fieldtype for ExpressionEngine

The JSON field will validate input on the fly and give you feedback. Built on http://zaach.github.io/jsonlint/

Usage

{field}

This field type only outputs raw data entered into the textarea. I will give you error output in the publish entry form if the json is not valid.

{field:json_ld}

This will output the json with no whitespace wrapped in <script type="application/ld+json"></script> tags.

{field:pretty}

Coming Soon

Outout json in a pretty format

Options

Preview

Coming Soon

This will give you a Prettyfied preview of valid JSON.

Friendly

Option to print out full debug or just a friendly error for non-techincal users.

Reformat

Option to autoformat the JSON if it is valid.

Changelog

0.1

Initial Beta Release

About

The JSON field will validate input on the fly and give you feedback.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published