Changeset 414 for binary-improvements2/WebServer
- Timestamp:
- Feb 27, 2023, 9:36:11 PM (21 months ago)
- Location:
- binary-improvements2/WebServer/src/WebAPI/APIs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/src/WebAPI/APIs/Animal.cs
r408 r414 10 10 11 11 private static readonly byte[] jsonKeyId = JsonWriter.GetEncodedPropertyNameWithBeginObject ("id"); 12 private static readonly byte[] jsonKeyName = JsonWriter.GetEncodedPropertyNameWith BeginObject("name");13 private static readonly byte[] jsonKeyPosition = JsonWriter.GetEncodedPropertyNameWith BeginObject("position");12 private static readonly byte[] jsonKeyName = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("name"); 13 private static readonly byte[] jsonKeyPosition = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("position"); 14 14 15 15 protected override void HandleRestGet (RequestContext _context) { -
binary-improvements2/WebServer/src/WebAPI/APIs/Hostile.cs
r408 r414 10 10 11 11 private static readonly byte[] jsonKeyId = JsonWriter.GetEncodedPropertyNameWithBeginObject ("id"); 12 private static readonly byte[] jsonKeyName = JsonWriter.GetEncodedPropertyNameWith BeginObject("name");13 private static readonly byte[] jsonKeyPosition = JsonWriter.GetEncodedPropertyNameWith BeginObject("position");12 private static readonly byte[] jsonKeyName = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("name"); 13 private static readonly byte[] jsonKeyPosition = JsonWriter.GetEncodedPropertyNameWithPrefixValueSeparator ("position"); 14 14 15 15 protected override void HandleRestGet (RequestContext _context) {
Note:
See TracChangeset
for help on using the changeset viewer.