Skip to content

Commit

Permalink
Merge branch 'bugfix-json-format-maps-doc'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-abrahamsson committed Feb 19, 2024
2 parents efa81a5 + 54e9acf commit c73f82b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/gpb_compile.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,8 @@ file(File) ->
%%
%% The `{json_format,Format}' option is a convenience shorthand, and will expand
%% as indicated below. If the json_format is not specified, it defaults to
%% `map' if the `maps' option is specified, and otherwise to `eep18' when
%% generating code for records.
%% `maps' if the <a href="#option-maps">`maps'</a> option is specified,
%% and otherwise to `eep18' when generating code for records.
%% <dl>
%% <dt>jsx</dt>
%% <dd><code>[{json_object_format, eep18},
Expand All @@ -1247,7 +1247,7 @@ file(File) ->
%% {json_array_format, list},
%% {json_string_format, binary},
%% {json_null, null}]</code></dd>
%% <dt>map</dt>
%% <dt>maps</dt>
%% <dd><code>[{json_object_format, map},
%% {json_key_format, binary},
%% {json_array_format, list},
Expand Down Expand Up @@ -2913,8 +2913,8 @@ c() ->
%% <dt><a id="cmdline-option-json-format"/>
%% `-json-format jsx | mochijson2 | jiffy | maps'</dt>
%% <dd>Specify format for the JSON representation.
%% `maps' is default if the `-maps' option is specified,
%% otherwise the jsx format is default.<br/>
%% `maps' is default if the <a href="#cmdline-option-maps">`-maps'</a>
%% option is specified, otherwise the jsx format is default.<br/>
%% Corresponding Erlang-level option:
%% <a href="#option-json_format">json_format</a></dd>
%% <dt><a id="cmdline-option-json-object-format"/>
Expand Down

0 comments on commit c73f82b

Please sign in to comment.