2017-05-16 6 views
-1

したがって、次の応答をJsonStringのHttprequestからObjectに変換する必要があります。誰かがそれをオブジェクトにループするのを助けることができます。 [New to Vb6]VB6のオブジェクトへのJsonString

以下のJsonの応答をご覧ください。

{ 
"Participants": [ 
{ 
    "Participant": { 
    "EntityHierarchy": {}, 
    "ProviderPlatform": "string", 
    "ProviderPlatformDetail": [ 
     { 
     "ProviderPlatform": "string", 
     "Primary": true 
     } 
    ], 
    "FirstName": "string", 
    "LastName": "string", 
    "BusinessName": "string", 
    "City": "string", 
    "Region": "string", 
    "PostalCode": "string", 
    "Phone": "string", 
    "CountryCode": "string", 
    "Email": "string", 
    "AccountNumber": "string", 
    "Active": true, 
    "PSuiteAttribute": "string", 
    "ParticipantIdentifier": "string", 
    "SystemParticipantIdentifier": "string", 
    "ITAIdentifier": "string" 
    }, 
    "Platform": "string", 
    "Program": "string", 
    "ProgramFriendlyName": "string", 
    "EnterpriseServicesIdentifier": "string", 
    "IdentityMapped": true, 
    "MappedToMasterPlatform": true, 
    "MasterPlatform": "string", 
    "SupportingPlatform": "string", 
    "MasterPlatformName": "string", 
    "SupportingPlatformName": "string", 
    "FaultedMessages": [ 
    "string" 
    ] 
    } 

答えて

0

ブルース・マクファーソンは、VBA/VB6でJSONの処理を行うためのcJobjectと呼ばれるクラスを多用して。 cJobjectは大きすぎて答えに収まらないが、現在のソースコードoff GitHubを得ることができる。彼のusage notesも参照してください。

関連する問題