oo-70-245-1

oo-70-245-1 Commit Details


Date:2019-12-03 16:33:05 (5 years 18 days ago)
Author:Natalie Adams
Branch:master
Commit:dd651a87445db49c374f49d4e9541031f0b72afa
Parents: 8b06aae5d5be1993b97902a1448478d1cf63a38f
Message:updating json dynamic

Changes:

File differences

JSON-dynamic.cs
449449
450450
451451
452
452
453453
454
454
455455
456
456
457457
458
458
459459
460460
461461
......
481481
482482
483483
484
484
485485
486486
487487
......
511511
512512
513513
514
514
515515
516516
517517
......
597597
598598
599599
600
600
{
success = SerializeString((string)value, builder);
}
else if (value is Hashtable)
else if (value is Dictionary<dynamic, dynamic>)
{
success = SerializeObject((Hashtable)value, builder);
success = SerializeObject((Dictionary<dynamic, dynamic>)value, builder);
}
else if (value is ArrayList)
else if (value is List<dynamic>)
{
success = SerializeArray((ArrayList)value, builder);
success = SerializeArray((List<dynamic>)value, builder);
}
else if ((value is Boolean) && ((Boolean)value == true))
{
return success;
}
protected static bool SerializeObject(Hashtable anObject, StringBuilder builder)
protected static bool SerializeObject(Dictionary<dynamic, dynamic> anObject, StringBuilder builder)
{
builder.Append("{");
return true;
}
protected static bool SerializeArray(ArrayList anArray, StringBuilder builder)
protected static bool SerializeArray(List<dynamic> anArray, StringBuilder builder)
{
builder.Append("[");
return true;
}
}
}
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05161s using 14 queries.