---
sourceDocument: Yokohama API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Transform data

# Transform data {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The NowData framework provides the ability to easily transform data
into records.
Using the [NowRecord](https://servicenow-prod.fluidtopics.net/EUiClqk908IIHv2YGv8jQg#NowRecordiOSAPI "The NowRecord class defines a model that represents a record in a table on a ServiceNow instance.") convenience structure, which contains the properties
`sysId` and `fields`, you can easily transform data into a
record. Whenever you obtain a `Data` wrapping `Result` or
`Publisher`, you can easily transform it into a `NowRecord`
wrapping `Result` or `Publisher` using the
convertToRecord() and convertToRecords() methods.
For additional information, see [NowTableService class - iOS](https://servicenow-prod.fluidtopics.net/zNm3xxQusg8lk0wvl8vDKw#NowTableServiceiOSAPI "The NowTableService class provides functions that enable you to perform create, read, update, and delete operations on records of existing ServiceNow tables.").  
Note:  
While NowRecord makes it very easy to quickly obtain data, depending on your use case, the Codable methods might be preferable as a strongly typed Codable structure provides more flexibility than a collection of "any" fields.

