IT lexicon › Programming › HOCON

HOCON

Programming På svenska → Updated: 2026-05-26

"Human-Optimized Config Object Notation". Typesafe (later Lightbend), 2011. JSON superset with comments, includes, variable substitution, optional quoting. Standard config format for the Akka/Scala stack.

Example: akka.actor.deployment {\n /worker { router = round-robin-pool }\n}. ${HOME} substitution from env vars. include "common.conf". Strings without quotes if they don't contain special characters. Competitors: YAML (more mainstream, whitespace-sensitive), TOML (newer, simpler), JSON (no comments), CUE (typed, validation language). Lives outside the Scala world mostly in Play Framework + Lagom + some JVM projects.

← Back to the lexicon