public class JsonLanguage extends Object
Canonical LanguageProfile factory for JSON and JSONC (.json, .jsonc, .jsonl, .geojson).
import klyn.code.json
profile = JsonLanguage.profile()
assert profile.id == "json"
assert profile.isConstant("true")
assert profile.isConstant("null")| Modifier and Type | Member | Description |
|---|---|---|
| public static | profileprofile() as LanguageProfile |
Returns the shared singleton LanguageProfile for JSON/JSONC. |