Click here to Skip to main content

.NET Framework

 
QuestionToolstrip PinmemberMember 103122377-Feb-14 23:42 
AnswerRe: Toolstrip PinmvpDave Kreskowiak8-Feb-14 3:51 
Questionnot able to save image which is already saved with same name and to the same location Pinmemberven7537-Feb-14 19:05 
AnswerRe: not able to save image which is already saved with same name and to the same location PinmemberTnTinMn7-Feb-14 19:37 
GeneralRe: not able to save image which is already saved with same name and to the same location Pinmemberven7538-Feb-14 0:22 
GeneralRe: not able to save image which is already saved with same name and to the same location PinmemberTnTinMn8-Feb-14 9:43 
GeneralRe: not able to save image which is already saved with same name and to the same location Pinmemberven7539-Feb-14 3:13 
AnswerRe: not able to save image which is already saved with same name and to the same location PinprofessionalPKJain7513-Feb-14 0:51 
Questionpopulating data from datagridview into textboxes [modified] PinmemberMember 105062157-Feb-14 2:10 
QuestionRe: populating data from datagridview into textboxes PinprofessionalEddy Vluggen7-Feb-14 9:55 
QuestionError in conversion of application PinmemberAshish Sharma6-Feb-14 19:18 
AnswerRe: Error in conversion of application Pinmvpthatraja6-Feb-14 21:24 
Questionnot able to Deserialize json signature lines [modified] Pinmemberven7534-Feb-14 19:36 
AnswerRe: not able to Deserialize json signature lines PinprofessionalRichard Deeming5-Feb-14 3:57 
The JSON you're trying to deserialize doesn't match the structure of the class you're trying to deserialize it to.
 
You can deserialize it to the following class:
private class Signature
{
    public List<List<List<double>>> lines { get; set; }
}
 
var signature = serializer.Deserialize<Signature>(json);
This will give you a single object with a single property called lines. This property is a list containing a single element. That element is a list containing a sequence of lists, each of which contains a pair of numbers.
{
   lines: [
            [
               [156.44, 96.44],
               [156.44, 95.33],
               [155.33, 94.22],
               [154.22, 93.11],
               [154.22, 90.89],
               [153.11, 89.78],
               ...
            ]
   ]
}
 
How you map that data to your expected list of SignatureLine objects is unclear, since you haven't provided an example of how you expect to get four integers from two floating point numbers.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: not able to Deserialize json signature lines Pinmemberven7535-Feb-14 6:17 
GeneralRe: not able to Deserialize json signature lines PinprofessionalRichard Deeming5-Feb-14 6:35 
GeneralRe: not able to Deserialize json signature lines Pinmemberven7535-Feb-14 7:11 
GeneralRe: not able to Deserialize json signature lines PinprofessionalRichard Deeming5-Feb-14 7:50 
GeneralRe: not able to Deserialize json signature lines [modified] Pinmemberven7535-Feb-14 8:18 
GeneralRe: not able to Deserialize json signature lines PinprofessionalRichard Deeming5-Feb-14 9:01 
GeneralRe: not able to Deserialize json signature lines [modified] Pinmemberven7535-Feb-14 17:09 
GeneralRe: not able to Deserialize json signature lines [modified] PinprofessionalRichard Deeming6-Feb-14 2:37 
GeneralRe: not able to Deserialize json signature lines Pinmemberven7536-Feb-14 7:54 
GeneralRe: not able to Deserialize json signature lines PinprofessionalRichard Deeming6-Feb-14 9:56 
GeneralRe: not able to Deserialize json signature lines Pinmemberven7536-Feb-14 17:18 
GeneralRe: not able to Deserialize json signature lines [modified] Pinmemberven7536-Feb-14 22:34 
GeneralRe: not able to Deserialize json signature lines [modified] Pinmemberven7537-Feb-14 8:03 
GeneralRe: not able to Deserialize json signature lines PinprofessionalRichard Deeming10-Feb-14 2:27 
Question3 layers architecture & MVC Pinmemberkryptong4-Feb-14 4:20 
AnswerRe: 3 layers architecture & MVC PinprofessionalEddy Vluggen4-Feb-14 8:55 
GeneralRe: 3 layers architecture & MVC Pinmemberkryptong4-Feb-14 9:08 
GeneralRe: 3 layers architecture & MVC PinprofessionalEddy Vluggen5-Feb-14 1:30 
AnswerRe: 3 layers architecture & MVC PinprotectorPete O'Hanlon4-Feb-14 9:28 
AnswerRe: 3 layers architecture & MVC PinprofessionalCoderPanda5-Feb-14 7:56 
QuestionGood GC configuration for Web services PinmemberPingala31-Jan-14 12:36 
AnswerRe: Good GC configuration for Web services [modified] PinmvpDave Kreskowiak31-Jan-14 12:58 
AnswerRe: Good GC configuration for Web services PinprofessionalCoderPanda5-Feb-14 8:23 
QuestionSending e-mail error-VB.NET Pinmembertgkkishore31-Jan-14 6:07 
AnswerRe: Sending e-mail error-VB.NET PinprofessionalEddy Vluggen31-Jan-14 7:25 
GeneralRe: Sending e-mail error-VB.NET Pinmembertgkkishore1-Feb-14 5:34 
GeneralRe: Sending e-mail error-VB.NET PinprofessionalEddy Vluggen1-Feb-14 8:09 
GeneralRe: Sending e-mail error-VB.NET Pinmembertgkkishore2-Feb-14 2:03 
GeneralRe: Sending e-mail error-VB.NET PinmvpRichard MacCutchan2-Feb-14 2:31 
GeneralRe: Sending e-mail error-VB.NET PinprofessionalRichard Deeming3-Feb-14 2:40 
GeneralRe: Sending e-mail error-VB.NET Pinmembertgkkishore5-Feb-14 5:07 
GeneralRe: Sending e-mail error-VB.NET PinprofessionalRichard Deeming5-Feb-14 5:24 
Questionlarning .net PinmemberMember 1055803029-Jan-14 4:52 
AnswerRe: larning .net PinprofessionalSimon_Whale29-Jan-14 5:31 
AnswerRe: larning .net PinmvpRichard MacCutchan29-Jan-14 7:37 
Questiondebugging a java webservice hosted on tomcat server in visual studio 2012 Pinmembervanjier27-Jan-14 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 1 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid