Expression

  • This content defines an arbitrary expression of an arbitrary type, where the response type is determined by its usage context.

  • The JSON representation includes values , a map of intermediate computation values, and result , indicating the final computed value among the values .

  • The values field in the JSON representation is a map of key-value pairs, where keys are strings and values are ValueNode objects forming an acyclic directed graph.

  • The result field in the JSON representation is a string that identifies the final result of the computation from the specified values .

Specifies an arbitrary expression, of an arbitrary type. The context in which it is used determines the type of the response.

JSON representation
 { 
 "values" 
 : 
 { 
 string 
 : 
 { 
 object (  ValueNode 
 
) 
 } 
 , 
 ... 
 } 
 , 
 "result" 
 : 
 string 
 } 
Fields
values

map (key: string, value: object ( ValueNode ))

All intermediate values in the computation. The directed graph these form must be acyclic.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" } .

result

string

Which of the ValueNodes in "values" is the final result of the computation.

Create a Mobile Website
View Site in Mobile | Classic
Share by: