Brightsign Object Reference Manual (FW 5.1) Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 341
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
22
searchRequest = CreateObject("roUrlTransfer")
searchRequest.SetURL("http://api.example.com/services/rest/getPhotos")
response = ParseJson(searchRequest.GetToString())
For Each photo In response.photos
GetImage(photo.title, photo.url)
End For
FormatJson(json As roAssociativeArray, flags As Integer) As String: Converts an associative
array to a JSON string (i.e. formatted according to the RFC4627 standard). The following are supported data types:
Boolean, Integer, Float, String, roArray, and roAssociativeArray. If the flags parameter is set to 0 or not specified,
non-ASCII characters are escaped in the output string as “\uXXXX”, where “XXXX” is the hexadecimal
representation of the Unicode character value. If the flags parameter is set to 1, non-ASCII characters are not
escaped. If arrays or associative arrays are nested more than 256 levels deep, an error will occur. If an error
occurs, an empty string will be returned.
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 340 341

Comentarios a estos manuales

Sin comentarios