Пример #1
0
 /// <summary>
 /// Hook for storing data members by calling the various AddMember() overloads.
 /// </summary>
 /// <param name="builder">The Jsonizer instance to use for storing data members.</param>
 public void Jsonize(Jsonizer builder)
 {
     builder.AddMember("id", ID, false);
     builder.AddMember("matched", MatchedTerm, false);
     builder.AddJsonString("term", TermDetail, true);
 }
Пример #2
0
 /// <summary>
 /// Hook for storing data members by calling the various AddMember() overloads.
 /// </summary>
 /// <param name="builder">The Jsonizer instance to use for storing data members.</param>
 public void Jsonize(Jsonizer builder)
 {
     builder.AddMember("meta", Meta, false);
     builder.AddJsonString("term", Term, true);
 }