Otter SDK Reference
Version:

InedoLib.Util.JavaScript Class

Contains JavaScript-related utility methods.

Inheritance Hierarchy

  • object
    • Inedo.InedoLib.Util.JavaScript

Syntax

public class InedoLib.Util.JavaScript

Methods

Name Description
JsonEncode(string s)

Escapes characters necessary to encode the string in JSON format.

Literal(string s)

Returns an instance representing literal JavaScript.

ToJson(object obj)

Returns a JSON-format string of a serialized object.

WriteJson(System.IO.TextWriter writer, object obj)

Writes an object as JSON-serialized data to a System.IO.TextWriter.