Skip to content

JsonToTabular

ClassChartGuruChartGuru
public static class JsonToTabular

Converts JSON text to a ChartGuru.ChartTabularData using Newtonsoft.Json’s JToken.SelectTokens for full JSONPath support.

The selector should resolve to one of:

  • An array of objects — each object becomes a row, the union of its keys becomes the column set. Nested objects are flattened one level with dot notation (ohlc.open).
  • An array of scalars — produces a single column named "value".
  • A single object — treated as a one-row dataset.

When rootSelector is empty the document root is used directly.

public static ChartTabularData Convert(string json, string rootSelector = "")

No description is available for this member.

Parameters

Name Type Description
json System.String
rootSelector System.String

Returns

ChartGuru.ChartTabularData — No return description is available.