Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→json-variables→Examples

Permalink to Table of ContentsTable of Contents

  • Quick Take
  • Allow a resolved value to be wrapped twice
  • Allow variables that cannot be resolved
  • Control how booleans resolve
  • Use a custom data container suffix
  • Use custom variable markers
  • Configure markers that resolve variables without output wrapping
  • Resolve variables from a data container
  • Switch off all wrapping
  • Ignore data containers
  • Leave the selected variables unwrapped
  • Skip wrapping using alternative markers
  • Reject a number inserted into a string
  • Reject values containing a lone marker
  • Resolve booleans to empty text
  • Replace unresolved variables with a fallback
  • A whole number keeps its type
  • Wrap the resolved values
↑ back to top

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Allow a resolved value to be wrapped twiceAllow a resolved value to be wrapped twice

↑ back to top

Permalink to Allow variables that cannot be resolvedAllow variables that cannot be resolved

↑ back to top

Permalink to Control how booleans resolveControl how booleans resolve

↑ back to top

Permalink to Use a custom data container suffixUse a custom data container suffix

↑ back to top

Permalink to Use custom variable markersUse custom variable markers

↑ back to top

Permalink to Configure markers that resolve variables without output wrappingConfigure markers that resolve variables without output wrapping

↑ back to top

Permalink to Resolve variables from a data containerResolve variables from a data container

↑ back to top

Permalink to Switch off all wrappingSwitch off all wrapping

↑ back to top

Permalink to Ignore data containersIgnore data containers

↑ back to top

Permalink to Leave the selected variables unwrappedLeave the selected variables unwrapped

↑ back to top

Permalink to Skip wrapping using alternative markersSkip wrapping using alternative markers

↑ back to top

Permalink to Reject a number inserted into a stringReject a number inserted into a string

↑ back to top

Permalink to Reject values containing a lone markerReject values containing a lone marker

↑ back to top

Permalink to Resolve booleans to empty textResolve booleans to empty text

↑ back to top

Permalink to Replace unresolved variables with a fallbackReplace unresolved variables with a fallback

↑ back to top

Permalink to A whole number keeps its typeA whole number keeps its type

↑ back to top

Permalink to Wrap the resolved valuesWrap the resolved values

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab