Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

2.3 JSON Format

5pecia1 edited this page Aug 6, 2017 · 8 revisions

모든 주고받는 data는 다음의 공통된 포멧을 가진다

Format

{
    "start-server":string,
    "order-id":string,
    "time":number,
    "object":string,
    "data":object
}
Property name Value Description
start-server string 시작 서버의 타입
  • order-id를 만든 서버인 가장 최초 시작 서버의 type
order-id string 시작 서버에서의 명령 id
  • 내부 JSON 객체의 값의 변경이 있더라도 목표한 작업이 끝날때 까지 최초의 id값을 계속 사용한다
  • 값 설정 방법
    "각 출발 서버 내의 id아이디 생성 규칙에 따른 id"
time number 전송 시간
object string data객체의 정보(type)
data object 객체 타입에 따른 정보

Clone this wiki locally