Interpret and use returned objects
When you send an evaluation request to the server, it provides a generic representation of the value returned as a result of the job execution.
The returned object, a member of the domain.representation package in Java and the Domain.Representation namespace in C#, is not directly instantiated or modified by your client code. It is constructed by the client API as part of the server response processing.
The returned value representation is a SpxmlValueRepresentation, which is automatically converted into an SplusDataResult object.
- The SplusDataResult object
The SplusDataResult object belongs to the domain package (Java) /Domain namespace (C#). Domain contains objects, classes, and data types, enums, and delegates that the Administration, Function, and Expression client interfaces use. - Return results as JSON
If you are building a web application that uses JavaScript or Java, you can set up Spotfire Statistics Services to return results in the JavaScript Object Notation (JSON) format rather than in the XML format (the default).
Copyright © TIBCO Software Inc. All rights reserved.