you will get a popup error: org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]Expected behavior
it minify.
Environment :
IntelliJ IDEA 2022.2.3 (Ultimate Edition)
Build #IU-222.4345.14, built on October 5, 2022
Licensed to Nikita Saraev
Subscription is active until November 17, 2022.
Runtime version: 17.0.4.1+7-b469.62 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.10.0-18-amd64
GC: G1 Young Generation, G1 Old Generation
Memory: 3072M
Cores: 12
Registry:
ide.balloon.shadow.size=0
Non-Bundled Plugins:
net.seesharpsoft.intellij.plugins.csv (2.21.0)
com.perl5 (2022.2.2)
com.mroche.JsonHelper (1.2.0)
org.jetbrains.kotlin (222-1.7.20-release-201-IJ4167.29)
String Manipulation (9.6.1)
Pythonid (222.4345.14)
me.schlaubi.gradleupdater (2.3.0)
aws.toolkit (1.52-222)
Kotlin: 222-1.7.20-release-201-IJ4167.29
Current Desktop: XFCE
Linux pentagon 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
Describe the bug You have an array JSON you can't simply minify it
To Reproduce make a JSON file with that content
you will get a popup error:
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
Expected behavior it minify.Environment :
Linux pentagon 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux