Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
using System.IO;
using ServiceStack.Serialization;
using ServiceStack.Text;
using ServiceStack.Web;
namespace ServiceStack
public class JsonServiceClient
: ServiceClientBase, IJsonServiceClient
public override string Format => "json";
public JsonServiceClient() {}
public JsonServiceClient(string baseUri)
public JsonServiceClient(string syncReplyBaseUri, string asyncOneWayBaseUri)
: base(syncReplyBaseUri, asyncOneWayBaseUri) {}
public override string ContentType => $"application/{Format}";
public override void SerializeToStream(IRequest req, object request, Stream stream) =>
JsonDataContractSerializer.Instance.SerializeToStream(request, stream);
public override T DeserializeFromStream<T>(Stream stream) =>
public override StreamDeserializerDelegate StreamDeserializer => JsonSerializer.DeserializeFromStream;
internal static JsonObject ParseObject(string json) =>