Open gabrieljones opened 1 year ago
In JSON Schema, an empty object is a completely valid schema that will accept any valid JSON. https://json-schema.org/understanding-json-schema/basics.html#id1 You can also use true in place of the empty object to represent a schema that matches anything, or false for a schema that matches nothing.
In JSON Schema, an empty object is a completely valid schema that will accept any valid JSON. https://json-schema.org/understanding-json-schema/basics.html#id1
You can also use true in place of the empty object to represent a schema that matches anything, or false for a schema that matches nothing.
true
false
import com.typesafe.config.ConfigValue implicit val configValueSchema: json.schema.Predef[ConfigValue] = json.schema.Predef(json.Schema.`empty`[ConfigValue]
Or maybe call it anything?
anything
Expected Output:
{ }
Or maybe call it
anything
?Expected Output: