21 references to JsonUtils
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (21)
Protocol\NewtonsoftJsonHubProtocol.cs (21)
142
using (var reader =
JsonUtils
.CreateJsonTextReader(textReader))
146
JsonUtils
.CheckRead(reader);
149
JsonUtils
.EnsureObjectStart(reader);
161
var messageType =
JsonUtils
.ReadAsInt32(reader, TypePropertyName);
171
invocationId =
JsonUtils
.ReadAsString(reader, InvocationIdPropertyName);
174
JsonUtils
.CheckRead(reader);
193
target =
JsonUtils
.ReadAsString(reader, TargetPropertyName);
196
error =
JsonUtils
.ReadAsString(reader, ErrorPropertyName);
199
allowReconnect =
JsonUtils
.ReadAsBoolean(reader, AllowReconnectPropertyName);
206
JsonUtils
.CheckRead(reader);
222
if (!
JsonUtils
.ReadForType(reader, returnType))
248
JsonUtils
.CheckRead(reader);
275
JsonUtils
.CheckRead(reader);
306
JsonUtils
.CheckRead(reader);
312
JsonUtils
.CheckRead(reader);
316
sequenceId =
JsonUtils
.ReadAsInt64(reader, SequenceIdPropertyName);
324
JsonUtils
.CheckRead(reader);
335
while (!completed &&
JsonUtils
.CheckRead(reader));
494
JsonUtils
.CheckRead(reader);
518
using (var writer =
JsonUtils
.CreateJsonTextWriter(textWriter))
811
return
JsonUtils
.ReadForType(reader, paramType);