Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Hocon

< >

Hocon, aka Human-Optimized Config Object Notation, is a data notation created in 2011.

#920on PLDB 13Years Old
Homepage · Wikipedia

HOCON, or Human-Optimized Config Object Notation is a format for human-readable data, and a superset of JSON and .properties. It is primarily used in conjunction with the Play framework, and is developed by Lightbend. It is also supported as a configuration format for .NET projects via Akka.NET and Puppet.. Read more on Wikipedia...


Example from the web:
// one array a : [ 1, 2, 3, 4 ] // two arrays that are concatenated a : [ 1, 2 ] [ 3, 4 ] // a later definition referring to an earlier // (see "self-referential substitutions" below) a : [ 1, 2 ] a : ${a} [ 3, 4 ]

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll