Write some Software for serializing an object to Json string

  • Status: Closed
  • Prize: $10
  • Entries Received: 6
  • Winner: lerietaylor

Contest Brief

In C#

Define a class structure of a receipt
Create an object of the class with the data in the attached Json string

I should be able to use (string json = JsonConvert.SerializeObject(receipt); ) where receipt is the created object of the class Receipt .

First working code will awarded the prize.

Regards

Recommended Skills

Employer Feedback

“Great Job in a very short time ”

Profile image vbguyfree, Saudi Arabia.

Public Clarification Board

  • mmwhynot
    mmwhynot
    • 11 years ago

    Hello, it was my fault not adding the screenshot of the code (actually, I thought it would be asked to provide as a text file, not as a screenshot). However as far as I see all the other freelancers used string type for dtReceiptDate (DateTime according to prefix) and tmReceiptTime (TimeSpan or DateTime according to prefix). Additionally, custom json converters should be implemented for iReceiptNo, dtReceiptDate and tmReceiptTime - all this to generate the json example you provided.

    • 11 years ago
  • vbguyfree
    Contest Holder
    • 11 years ago

    Thank you Karnthijalagam , your work is also great . It is only because I promised to award first working submission , hopefully we work together later .

    • 11 years ago
  • kranthijalagam
    kranthijalagam
    • 11 years ago

    thaks for published contest.congratulations from my side to winner

    • 11 years ago
  • vbguyfree
    Contest Holder
    • 11 years ago

    Thank you all . First submitted was awarded .

    • 11 years ago
  • kranthijalagam
    kranthijalagam
    • 11 years ago

    hi i have completed your task .

    • 11 years ago
  • dkshukla93
    dkshukla93
    • 11 years ago

    hi
    i have completed your task .

    • 11 years ago
  • LearningNew
    LearningNew
    • 11 years ago

    I can do it. I am sorry not sure how to proceed here in contest

    • 11 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!