Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8810903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:13:54+00:00 2026-06-14T03:13:54+00:00

in the rest service i am emulating the same as another product, json is

  • 0

in the rest service i am emulating the same as another product, json is GET/POSTed in web form or query string parameters.

My request DTO has another DTO object as a property for the json

I can add a RequestFilter to deserialize the form parameters if it is POSTed, but if GET is used with json in a query variable the service stack code will throw an “KeyValueDataContractDeserializer: Error converting to type” exception in StringMapTypeDeserializer.

In StringMapTypeDeserializer it gets a parse function for the properties of the DTO. Is there anyway of adding something to JsvReader.GetParseFn(propertyType); to handle the de-serialization of my JSON?

Or some other way of adding parsing for this query parameter? without doing a custom handler.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:13:56+00:00Added an answer on June 14, 2026 at 3:13 am

    ServiceStack uses the JSV Format (aka JSON without quotes) to parse QueryStrings.

    JSV lets you embed deep object graphs in QueryString as seen this example url:

    http://www.servicestack.net/ServiceStack.Examples.Host.Web/ServiceStack/Json/
    SyncReply/StoreLogs?Loggers=[{Id:786,Devices:[{Id:5955,Type:Panel,
      Channels:[{Name:Temperature,Value:58},{Name:Status,Value:On}]},
      {Id:5956,Type:Tank,TimeStamp:1199303309,
      Channels:[{Name:Volume,Value:10035},{Name:Status,Value:Full}]}]}]
    

    If you want to change the default binding ServiceStack uses, you can register your own Custom Request Binder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a REST service which takes a JSON request. I want to validate
I have a REST service that gets a GET request, and I want it
I have a REST service that returns a JSON like this: [{@id:123,name:Name}] and I'm
In my Jersey Rest Service i tried to create an entity tag with: String
I'm developing a REST service, so a request could be something like this: /Data/Main/Table=Customers/
we've created a REST service (which should be called with a PUT request. We've
From the MusicBrainz REST service, I get the following xml: <artist-list offset=0 count=59> <artist
have created REST service using servicestack and in post request I have return object
I have a rest service returning JSON with one number {uptime:44} available under url:
WCF REST service works great in a way that it will reply/accept JSON or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.