private EncodeValue ( object value, bool forceTypeHint ) : void | ||
value | object | |
forceTypeHint | bool | |
리턴 | void |
public static string Encode(object obj, EncodeOptions options) { var instance = new Encoder(options); instance.EncodeValue(obj, false); return(instance.builder.ToString()); }
public static string Encode(object obj, bool prettyPrint = false) { var instance = new Encoder(prettyPrint); instance.EncodeValue(obj); return(instance.builder.ToString()); }
private static string InternalEncode(object obj, EncodeOptions options, bool skipOverVariants) { var instance = new Encoder(options); int combineIndex = instance.combinable ? 0 : -1; instance.EncodeValue(obj, false, combineIndex); return(instance.builder.ToString()); }
public static string Encode( object obj, EncodeOptions options ) { var instance = new Encoder( options ); instance.EncodeValue( obj, false ); return instance.builder.ToString(); }