UNPKG

genshin-manager

Version:

<div align="center"> <p> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https://img.shields.io/npm/v/genshin-manager.svg?maxAge=3600" alt="npm version" /></a> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https:

32 lines (31 loc) 644 B
/** * Type of Json value */ export type JsonValue = string | number | boolean | null | JsonObject | JsonArray; /** * Type of Json object */ export type JsonObject = { [key: string]: JsonValue; }; /** * Type of Json array */ export type JsonArray = JsonValue[]; /** * Class of json parser */ export declare class JsonParser { private readonly json; /** * Create a JsonParser * @param jsonString Json string */ constructor(jsonString: string); /** * Get value from json * @param propertyPath Property path * @returns Value */ get(propertyPath?: string): JsonValue | undefined; }