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
I can use jtd-infer with a few concatenated files, but when I concatetenate a 1000+ JSON files, the program crashed with a stack overflow. Similar inferral tools for JSON Schema, like Genson, work fine with these same 1000+ files.
$ ls -Aq testdata/metadata/ | wc -l
2
$ cat testdata/metadata/*.json | jtd-infer
# This works OK
$ ls -Aq ../test/testdata/metadata/ | wc -l
1129
$ cat ../test/testdata/metadata/*.json | jtd-infer
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Afgebroken (geheugendump gemaakt)
I would appreciate if this could be fixed somehow. Perhaps allow several input files on the command line in stead of one?