// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved. // Node module: @loopback/context // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT /** * Type definition for JSON types */ /** * JSON primitive types: * - string * - number * - boolean * - null */ export type JSONPrimitive = string | number | boolean | null; /** * JSON values * - primitive * - object * - array */ export type JSONValue = JSONPrimitive | JSONObject | JSONArray; /** * JSON object */ export interface JSONObject extends Record {} /** * JSON array */ export interface JSONArray extends Array {}