Show / Hide Table of Contents

Class JsonHelper

Class containing helper functions to operate on Newtonsoft.Json.Linq.JObject objects.

Inheritance
object
JsonHelper
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Asset.LLM
Assembly: WMServer.dll
Syntax
public class JsonHelper

Methods

RecursiveGetValuePaths(JToken)

Traverse a JObject and return the paths of every value.

Declaration
public static List<string> RecursiveGetValuePaths(JToken property)
Parameters
Type Name Description
JToken property
Returns
Type Description
List<string>

UnionJObjects(List<JObject>)

combines JObjects to a single JObject containing the union of all properties in the input. Prefers property values that appear more.

Declaration
public static JObject UnionJObjects(List<JObject> JOjects)
Parameters
Type Name Description
List<JObject> JOjects
Returns
Type Description
JObject
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE