update comments about internal rep to match reality
This commit is contained in:
parent
eb7527e9a3
commit
08673b144e
2 changed files with 6 additions and 2 deletions
|
@ -101,7 +101,9 @@ format_key(Key, Config) ->
|
|||
end.
|
||||
|
||||
|
||||
%% internal state is a stack of in progress objects/arrays
|
||||
%% internal state is a stack and a config object
|
||||
%% `{Stack, Config}`
|
||||
%% the stack is a list of in progress objects/arrays
|
||||
%% `[Current, Parent, Grandparent,...OriginalAncestor]`
|
||||
%% an object has the representation on the stack of
|
||||
%% `{object, [{NthKey, NthValue}, {NMinus1Key, NthMinus1Value},...{FirstKey, FirstValue}]}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue