2017-05-03 13 views
0

API 청사진 구문에서 예제 JSON 몸체를 만드는 데 도움이되는 도구가 있습니까?API 청사진 (예 : 양봉장) - 청사진에서 json 본문을 생성하는 도구

+ Attributes (object) 
    + data (array) 
     + (object) 
      + id: 100 (number) - The ID for the particular EPG object 
      + title: "Vikings" (string) - The title for the program item 
      + lang: "English" (string) - The language that the program is in 
      + desc: "Lorem ipsum" (string) - The long description 
      + start: 1492700179 (number) - The UNIX epoch timestamp for when the program starts 
      + duration: 2816 (number) - For how many seconds the program will last 
      + links (array) 
       + (object) 
        + rel: "self", 
        + uri: "/epg/100" 
       + (object) 
        + rel: "image" 
        + uri: "http://cdn.inquisitr.com/wp-content/uploads/2017/02/Vikings-Season-5-1.jpg" 

이 나를 위해 JSON 본체 또는 스키마를 생성하는 도구가 있습니까 :

예를 들어이 같은 속성을 배치 한 경우? 나는 봤는데 https://apiblueprint.org/tools.html에서 도구를 통해 봤지만 그들 중 누구도 적합 것으로 보이지 않습니다.

답변

1

API Blueprint parser은 MSON 데이터 구조에 대한 JSON 스키마를 생성 할 수 있으며 구문 분석 결과에서 추출 할 수 있습니다.

manually을 할 수 있지만 그럴 경우에도 tools을 사용할 준비가되어 있습니다.

희망 사항 - 도구 섹션을 업데이트해야합니다.