java.lang.Objectcom.aspose.words.JsonDataSource
public class JsonDataSource
To access data of the corresponding file or stream while generating a report, pass an instance of this class as
a data source to one of
In template documents, if a top-level JSON element is an array, a
In template documents, you can work with typed values of JSON elements. For convenience, the engine replaces the set
of simple JSON types with the following one:
The engine automatically recognizes values of the extra types upon their JSON representations.
Constructor Summary |
---|
JsonDataSource(java.lang.String jsonPath)
Creates a new data source with data from a JSON file. |
Constructor Detail |
---|
public JsonDataSource(java.lang.String jsonPath) throws java.lang.Exception
jsonPath
- The path to the JSON file to be used as the data source.