BuildMaster SDK Reference

InedoLib.Util.JavaScript Class

Contains JavaScript-related utility methods.

Inheritance Hierarchy

  • object
    • Inedo.InedoLib.Util.JavaScript


public class InedoLib.Util.JavaScript


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.