Top
Programming Archives - Catatan Si Boy
fade
1
archive,category,category-programming,category-1,eltd-core-1.1.1,flow child-child-ver-1.0.0,flow-ver-1.3.7,,eltd-smooth-page-transitions,ajax,eltd-grid-1300,eltd-blog-installed,page-template-blog-standard,eltd-header-vertical,eltd-sticky-header-on-scroll-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-dropdown-default

Find a Specific Object in JSON Array

I have json file that has [{"a":"Value","b":"Value"},{"a":"Value1","b":"Value1"}] I want to find a specific object in the JSON array where the a property has the value Value1. In that case I can use Json.Net's LINQ-to-JSON API (JObjects, etc.) to find it like this: Dim json As String = _ ...

I have json file that has [{"...

Read More

How to Access and Parse a Value of JSON in VB.NET

The json looks like: [ {Id:1, view,:true , write:false}, {Id:2, view: true , write:true}, ..etc ]   Imported Libraries: Imports System.Web.Script.Serialization Imports System.IO The Part of the code that will get the json from the request: Dim tree_data As String = Nothing HttpContext.Current.Request.InputStream.Position = 0 ...

The json looks like: [ {Id...

Read More