Package com.github.wnameless.json.base
Interface JsonCore<JVC extends JsonValueCore<JVC>>
- Type Parameters:
JVC- the type of a JSON implementation wrapper
- All Known Implementing Classes:
GsonJsonCore,JacksonJsonCore,JakartaJsonCore,OrgJsonCore
public interface JsonCore<JVC extends JsonValueCore<JVC>>
JsonCore provides a wrapper to all kinds of JSON parsers.- Author:
- Wei-Ming Wu
-
Method Summary
Modifier and TypeMethodDescriptionCreates aJsonValueCoreby given JSON string reader.Creates aJsonValueCoreby given JSON string.
-
Method Details
-
parse
Creates aJsonValueCoreby given JSON string.- Parameters:
json- any JSON string- Returns:
- a
JsonValueCore
-
parse
Creates aJsonValueCoreby given JSON string reader.- Parameters:
jsonReader- any JSON string reader- Returns:
- a
JsonValueCore - Throws:
IOException- if error occurs during reading
-