diff --git a/src/jerg.erl b/src/jerg.erl index 64c0d50..3ac9e4b 100644 --- a/src/jerg.erl +++ b/src/jerg.erl @@ -258,7 +258,7 @@ output_record(SchemaGraph, SchemaId, JsonSchema, IoDevice) -> output_object_record(SchemaGraph, SchemaId, JsonSchema, IoDevice) -> output_title(JsonSchema, IoDevice), output_description(JsonSchema, IoDevice), - output("-record(~s,~n~s{~n", [SchemaId, string:chars($ , 8)], IoDevice), + output("-record('~s',~n~s{~n", [SchemaId, string:chars($ , 8)], IoDevice), output_properties(SchemaGraph, JsonSchema, IoDevice), output("~s}).~n~n", [string:chars($ , 8)], IoDevice). @@ -517,4 +517,4 @@ get_jerg_version() -> id(T) -> T. -spec fn(term()) -> fun(() -> term()). -fn(T) -> fun() -> T end. \ No newline at end of file +fn(T) -> fun() -> T end.