Click or drag to resize
PersistJSONToJson Method
Converts a LedAction

Namespace: Com.Datalogic.Extension.Selfshopping.Led.Action.Persistence
Assembly: datalogic-xamarin-sdk-selfshopping (in datalogic-xamarin-sdk-selfshopping.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static string ToJson(
	LedAction action
)

Parameters

action
Type: Com.Datalogic.Extension.Selfshopping.Led.ActionLedAction
- The input LedAction.

Return Value

Type: String
String The resulting JSON String if the conversion succeeds, null otherwise.
Remarks

Converts a LedAction

into a JSON string. This is done taking into consideration all the internal variables composing the object and making them available in the resulting string. If the input object cannot be converted to JSON, a null string will be returned.

[Android Documentation]

See Also