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 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

I'm working with a jQuery plug-in useful to zoom the resized background images with
I need to calculate the position, height and width of every anchored link in
After splitting up the tileset http://mystikrpg.com/images/all_tiles.png It still will not draw onto the <canvas>
OK, I have a HTML5 canvas... and it draws images from .png tiles (32x32).
Hay, i'm using this script function preloader(images){ var i = 0; imageObj = new
Images can be included in TextArea controls using the htmlText property: ta.htmlText = '<img
The Images section of the following document https://developers.google.com/apps-script/html_service says that only images hosted on
The images iam loading are slightly different sizes. how can i get the smallest
My images are stored in a MongoDB, and I'd like to return them to
The images that are fresh out from digital cameras are often above the size

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.