Dim jsonString As String = "{\"transactionType\":\"SALE\",\"amount\":\"" & transAmount & \"",\"currency\":\"GBP\"}"
Search found 188 matches
- Sunday 14th August 2022 10:01pm
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4436
Re: Help With JSON formatting
try this one :
- Saturday 13th August 2022 9:39am
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4436
Re: Help With JSON formatting
don't know your json but if you like to have a quotation mark inside a string you have to escape it with a backslash ...
OR
something like so:
OR
something like so:
string = "first part" & chr(34) & "second part"
will result in: firstpart"second part- Thursday 11th August 2022 12:21pm
- Forum: General
- Topic: Help With JSON formatting
- Replies: 26
- Views: 4436
Re: Help With JSON formatting
escape the quotation mark with \
string = " \"this should work \""
string = " \"this should work \""
- Tuesday 3rd May 2022 5:08pm
- Forum: Project showcase
- Topic: Classify a gambas classes explorer
- Replies: 2
- Views: 3036
- Tuesday 15th March 2022 5:42pm
- Forum: Beginners
- Topic: FOR/NEXT loop with variables/ solved!
- Replies: 4
- Views: 2486
Re: FOR/NEXT loop with variables
START.Value ... END.Value ???
- Sunday 30th January 2022 12:48am
- Forum: Project showcase
- Topic: FlareRenamer - program to rename files
- Replies: 13
- Views: 8012
Re: FlareRenamer - program to rename files
second time i try ... second version that did not work ...
- Thursday 20th January 2022 10:14am
- Forum: Project showcase
- Topic: Gambas Function sorter
- Replies: 8
- Views: 8460
Re: Gambas Function sorter
now that i am back here after various intensive care units ... be honest ... you missed me
- Wednesday 19th January 2022 11:51am
- Forum: Project showcase
- Topic: Gambas Function sorter
- Replies: 8
- Views: 8460
- Tuesday 5th October 2021 9:51am
- Forum: General
- Topic: Adding help
- Replies: 2
- Views: 2092
- Friday 3rd September 2021 3:36pm
- Forum: Component Showcase
- Topic: GradientButton, set 2 colours and the background blends
- Replies: 8
- Views: 11635
Re: GradientButton, set 2 colours and the background blends
fyi [System] Gambas=3.16.90 6ae9c8f5c (master) OperatingSystem=Linux Kernel=5.10.60-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=Cinnamon Font="",72,9 (which is wrong ... should read Font="72",9 Scale=7 Theme=proxy Language=de_DE.UTF-8 Memory=7836M and i have ...