Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace ObjectSerializer

Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved. This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

Type aliases

Variables

Functions

Type aliases

BodyType

BodyType: string | ReadableStream | Blob

Variables

Const mapRegex

mapRegex: RegExp = new RegExp("^{\\[\\w*:\\w*]:model.\\w*}$")

Functions

deserialize

  • deserialize<T>(data: any, type?: undefined | string): T

isList

  • isList(type: string): boolean

isMap

  • isMap(type: string): boolean

serialize

  • serialize(data: any, type: string, getJsonObj?: undefined | function): string