You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While completely understandable, it may generate invalid JSON :
if a creator is generated, there will be a missing comma after it,
there will be always a missing comma between the last paragraph and the first comment.
Please note that adding a comma in the pattern could be a solution for the second case but not for the first one, because with 0 occurrences there would be an unexpected comma.
Such a following pattern could work if there was an additional boolean parameter of the repeat clause, named last_comma (or any other name) which would default to false (for compatibility with current behaviour) but could be set to true in the first two repeats.
The text was updated successfully, but these errors were encountered:
Let's say we designed the following pattern:
While completely understandable, it may generate invalid JSON :
creator
is generated, there will be a missing comma after it,paragraph
and the firstcomment
.Please note that adding a comma in the pattern could be a solution for the second case but not for the first one, because with 0 occurrences there would be an unexpected comma.
Such a following pattern could work if there was an additional boolean parameter of the
repeat
clause, namedlast_comma
(or any other name) which would default tofalse
(for compatibility with current behaviour) but could be set totrue
in the first two repeats.The text was updated successfully, but these errors were encountered: