C# 클래스 GeositeFramework.Helpers.CsvHelper

파일 보기 프로젝트 열기: CoastalResilienceNetwork/GeositeFramework

공개 메소드들

메소드 설명
JsonToCsv ( string json ) : string

Takes valid JSON array and returns simple CSV representation of the data. Leans on the fact that any escapable characters are already quoted within the json as strings.

비공개 메소드들

메소드 설명
ArrayToRow ( IEnumerable rowValues ) : string
GetFormattedValue ( JToken val ) : string

메소드 상세

JsonToCsv() 공개 정적인 메소드

Takes valid JSON array and returns simple CSV representation of the data. Leans on the fact that any escapable characters are already quoted within the json as strings.
public static JsonToCsv ( string json ) : string
json string String representation of an Array [file] of Arrays [rows]
리턴 string