parent
350ce892e3
commit
a3d41c29dc
@ -0,0 +1,15 @@ |
||||
package com.github.catvod.utils; |
||||
|
||||
import com.google.gson.JsonElement; |
||||
import com.google.gson.JsonParser; |
||||
|
||||
public class Json { |
||||
|
||||
public static JsonElement parse(String json) { |
||||
try { |
||||
return JsonParser.parseString(json); |
||||
} catch (Exception e) { |
||||
return new JsonParser().parse(json); |
||||
} |
||||
} |
||||
} |
||||
Binary file not shown.
@ -1 +1 @@ |
||||
bc 37 a9 26 8b 9f 51 bf e5 e3 52 46 2f dd ea 73 |
||||
d2f7d53575d81fb021c8602c84a8f210 |
||||
|
||||
Loading…
Reference in new issue