Package me.lauriichan.laylib.json.io
Class JsonParser
java.lang.Object
me.lauriichan.laylib.json.io.JsonParser
-
Method Summary
Modifier and TypeMethodDescriptionstatic IJson<?> fromBytes(byte[] bytes) static IJson<?> static IJson<?> static IJson<?> fromReader(Reader reader) static IJson<?> fromStream(InputStream stream) static IJson<?> fromString(String string) static IJson<?> read(me.lauriichan.laylib.json.io.JsonReader reader)
-
Method Details
-
fromString
public static IJson<?> fromString(String string) throws IOException, JsonSyntaxException, IllegalStateException -
fromBytes
public static IJson<?> fromBytes(byte[] bytes) throws IOException, JsonSyntaxException, IllegalStateException -
fromStream
public static IJson<?> fromStream(InputStream stream) throws IOException, JsonSyntaxException, IllegalStateException -
fromReader
public static IJson<?> fromReader(Reader reader) throws IOException, JsonSyntaxException, IllegalStateException -
fromFile
public static IJson<?> fromFile(File file) throws IOException, JsonSyntaxException, IllegalStateException -
fromPath
public static IJson<?> fromPath(Path path) throws IOException, JsonSyntaxException, IllegalStateException -
read
public static IJson<?> read(me.lauriichan.laylib.json.io.JsonReader reader) throws IOException, JsonSyntaxException, IllegalStateException
-