S sarmanho Member Licensed User Longtime User Dec 27, 2016 #1 I need send this string as Smart String (including { e }): {id:20,nome:'GEORGE'}
DonManfred Expert Licensed User Longtime User Dec 27, 2016 #2 B4X: dim o as int = 20 din nome as string = "George" dim s as string = $"{id:${o},nome:${nome}}"$ Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 27, 2016 #3 B4X: Dim jg As JSONGenerator jg.Initialize(CreateMap("id": 20, "nome": nome)) Dim s As String = jg.ToString Upvote 0
B4X: Dim jg As JSONGenerator jg.Initialize(CreateMap("id": 20, "nome": nome)) Dim s As String = jg.ToString