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

  • Home
  • SEARCH
  • 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 922691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:04:32+00:00 2026-05-15T19:04:32+00:00

{images:[{id:obj_0,src:background.jpg,width:640,height:480},{id:obj_9,src:elements/pipe.png,width:50,height:44,top:196,left:154,rotation:0},{id:obj_13,src:elements/cigarette.png,width:45,height:67,top:168,left:278,rotation:0},{id:obj_10,src:elements/hat.png,width:227,height:122,top:28,left:241,rotation:0},{id:obj_14,src:elements/hair.png,width:244,height:204,top:-17,left:98,rotation:0}]} please help me how to get and/or evaluate object from this json string

  • 0

{"images":[{"id":"obj_0","src":"background.jpg","width":"640","height":"480"},{"id":"obj_9","src":"elements/pipe.png","width":50,"height":44,"top":196,"left":154,"rotation":"0"},{"id":"obj_13","src":"elements/cigarette.png","width":45,"height":67,"top":168,"left":278,"rotation":"0"},{"id":"obj_10","src":"elements/hat.png","width":227,"height":122,"top":28,"left":241,"rotation":"0"},{"id":"obj_14","src":"elements/hair.png","width":244,"height":204,"top":-17,"left":98,"rotation":"0"}]}

please help me how to get and/or evaluate object from this json string with VB.Net.

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-05-15T19:04:32+00:00Added an answer on May 15, 2026 at 7:04 pm

    This was a fun one, thank you.

    Here is the answer in VB.

    Private Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles form1.Load
        Dim json = litData.Text 'or put your json string in here {"images":[{"id"...}]} etc.'
    
        Dim ser As New Web.Script.Serialization.JavaScriptSerializer
        Dim images = ser.Deserialize(Of jsonImageArray)(json)
    
        'Now do something with your deserialized data.'
    End Sub
    
    'for {"images" collection'
    Public Class jsonImageArray
        Public images As jsonImage()
    End Class
    
    'for sub elements'
    Public Class jsonImage
        Public id As String
        Public src As String
        Public width As Int32
        Public height As Int32
        Public top As Int32
        Public left As Int32
        Public rotation As Double
    End Class
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

PNG images appear fuzzy in flash CS3. They are very blocky and appear unanti-aliased
I have an images folder with a png in it. I would like to
I have barcode images in jpg format and want to extract barcode # from
$sourcePath = 'images/'; // Path of original image $sourceUrl = ''; $sourceName = 'photo1.jpg';
I have 28,000 images I need to convert into a movie. I tried mencoder
I'm downloading some images from a service that doesn't always include a content-type and
How do I manipulate images at the pixel level in C#? I need to
How can I fetch images from a server? I've got this bit of code
I have some static images in a folder on my IIS 6-based website that
I need to upload images using FileUpload without postback(using Ajax).I tried many examples.But in

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.