servicestack-text Questions
1
I've noticed a strange behavior in one of our applications recently.
Exception=System.InvalidCastException: Unable to cast object of type 'System.Data.SqlClient.SqlTransaction' to type 'System.Byte...
Alrzc asked 22/4, 2021 at 12:28
1
Long story short- a date round tripped through ServiceStack.Text's JSON parser loses time zone information. Oddly enough, DateTimeSerializerTests.DateTime_Is_Serialized_As_Utc_and_Deserialized_as_l...
Grindelia asked 3/6, 2014 at 17:19
3
Solved
I'm using ServiceStack to run a REST API and am running into issues serializing the response object. More specifically, when I call JsonSerializer.SerializeToString(.) on the response object all pr...
Odonnell asked 29/6, 2017 at 2:16
1
Solved
If possible, how can I change the delimiter from comma to semicolon when using ServiceStack.Text.CsvSerializer?
Barton asked 6/10, 2015 at 6:36
3
Solved
I have a POCO like this:
public class BlogEntry
{
public string Title { get; set; }
public DateTime Date { get; set; }
}
Most of the time it's being hydrated from Entity Framework, but it can ...
Gym asked 30/10, 2013 at 21:51
1
Solved
I guess it is too much I am asking from a framework. But just wondering if it is possible at all. Or what will be work around for this.
JSON.Net with new release started supporting F# union types....
Bellda asked 13/3, 2014 at 5:59
1
Solved
I have a JSON string that looks like:
"{\"Id\":\"fb1d17c7298c448cb7b91ab7041e9ff6\",\"Name\":\"John\",\"DateOfBirth\":\"\\/Date(317433600000-0000)\\/\"}"
I'm trying to deserialize it to object (...
Chayachayote asked 6/2, 2014 at 10:59
1
Solved
I cannot find the JsonDateHandler enum in the current Nuget ServiceStack version 4.0.5.0.
Any pointers?
Serous asked 23/12, 2013 at 8:16
3
Solved
I am using ServiceStack.OrmLite to persist data in a SQLite database, and quite happy with it so far.
However, many of my objects have properties of a complex type which I don't want serialized us...
Frostbite asked 1/11, 2013 at 2:4
3
Solved
A discriminated union in F# is compiled to an abstract class and its options become nested concrete classes.
type DU = A | B
DU is abstract while DU.A and DU.B are concrete.
With ServiceStack, ...
Knout asked 24/7, 2013 at 11:7
1
© 2022 - 2024 — McMap. All rights reserved.