Skip to main content

Communications Reference

Methods for interacting with external servers and JSON data.

WebService

Utility for REST-like communication (GET/POST) using JSON.

void ReadJSON() / bool Read

  • Description: Performs a GET operation to the server. Read returns true on success.

string GetData(string data)

  • Description: Returns a value from the JSON using a key. Multiple keys can be separated by commas for nested objects.

void SetData(string keys, string valor)

  • Description: Modifies a value in the local JSON object before sending it.

void WriteJSON() / bool Write

  • Description: Performs a write operation to the server with the modified data.

bool ERROR / string ErrorDesc

  • Description: Error handling for network operations.