C# 클래스 DynamicJson.Utilities

파일 보기 프로젝트 열기: pieterbreed/Dynamic-Json-for-.NET

공개 메소드들

메소드 설명
GetStringValueFromToken ( string tokenValue ) : string
JsonUnescape ( this str ) : string
PerformOneEscapeStep ( string from, string to, IEnumerable inputs ) : IEnumerable

this ugly method performs one escape sequence step. if it is called with (@"\t", "\t", ["aaa\\tbbb\\tccc", "\\tddd"]) it will return [ "aaa", "\t", "bbb", "\t", "ccc", "\t", "ddd" ]

메소드 상세

GetStringValueFromToken() 공개 정적인 메소드

public static GetStringValueFromToken ( string tokenValue ) : string
tokenValue string
리턴 string

JsonUnescape() 공개 정적인 메소드

public static JsonUnescape ( this str ) : string
str this
리턴 string

PerformOneEscapeStep() 공개 정적인 메소드

this ugly method performs one escape sequence step. if it is called with (@"\t", "\t", ["aaa\\tbbb\\tccc", "\\tddd"]) it will return [ "aaa", "\t", "bbb", "\t", "ccc", "\t", "ddd" ]
public static PerformOneEscapeStep ( string from, string to, IEnumerable inputs ) : IEnumerable
from string the sequence that must be replaced
to string what it must be replaced with
inputs IEnumerable an enumerable of strings that must all have the escape performed on them
리턴 IEnumerable