기술 자료

지원

Cloud Code

Cloud Code

커스텀 직렬화

Customize serialization and deserialization with Newtonsoft.Json attributes.
읽는 시간 1분최근 업데이트: 한 달 전

Cloud Code 모듈은 Newtonsoft.Json 라이브러리를 사용하여 데이터를 직렬화하고 역직렬화합니다.
Newtonsoft.Json
속성을 사용하여 데이터의 직렬화 및 역직렬화를 커스터마이즈할 수 있습니다.
예를 들어
JsonProperty
속성을 사용하면 데이터의 JSON 표현에서 프로퍼티의 이름을 변경할 수 있습니다.
using Newtonsoft.Json;public class MyData{ [JsonProperty("myProperty")] public string MyProperty { get; set; }}
자세한 내용은 Newtonsoft.Json 기술 자료를 참고하십시오.