private static string toString(cardocr.JobInfo job) { job.setNullFieldToEmpty(); // // StringBuilder sb = new StringBuilder(); CodeBetter.Json.JsonWriter w = new CodeBetter.Json.JsonWriter(sb); CodeBetter.Json.JsonSerializer.Serialize(w, job); return sb.ToString(); }
private static string toString(cardocr.JobInfo job) { job.setNullFieldToEmpty(); return Newtonsoft.Json.JsonConvert.SerializeObject(job); }