Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-04

FPJSON and special characters problem

3 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

Hello,

I tried to use the "&" character, but it does not work with Json.AsString or Json.AsJSON. :(

Please see error in this picture:

http://imagebin.org/206486

FPJSON does not support special characters?

Thx.

Lazarus 0.9.30.4 r35940 FPC 2.6.0 i386-win32-win32/win64 (same error in openSUSE).

Silvio Cl?cio ============================================ Site - <silvioprog.com.br> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <github.com/silvioprog/lazwebsolutions> ============================================

Reply by email

silvioprog
to silvioprog

Sorry, sample in attached.

2012/4/2 silvioprog :

Show quoted text 15 lines
Hello, I tried to use the "&" character, but it does not work with Json.AsString or Json.AsJSON. :( Please see error in this picture: http://imagebin.org/206486 FPJSON does not support special characters? Thx. Lazarus 0.9.30.4 r35940 FPC 2.6.0 i386-win32-win32/win64 (same error in openSUSE).
Silvio Cl?cio ============================================ Site - <silvioprog.com.br> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <github.com/silvioprog/lazwebsolutions> ============================================ -------------- next part -------------- A non-text attachment was scrubbed... Name: json.zip Type: application/zip Size: 2267 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120402/080bacd0/attachment.zip>

Reply by email

silvioprog
to silvioprog: I tried to use the "&" character, but it does not work with Json.AsString or Json.AsJSON.…

Ooh, sorry, a solved my problem. :)

ShowMessage('&&');

Thx.

2012/4/2 silvioprog :

Show quoted text 15 lines
Hello, I tried to use the "&" character, but it does not work with Json.AsString or Json.AsJSON. :( Please see error in this picture: http://imagebin.org/206486 FPJSON does not support special characters? Thx. Lazarus 0.9.30.4 r35940 FPC 2.6.0 i386-win32-win32/win64 (same error in openSUSE).
Silvio Cl?cio ============================================ Site - <silvioprog.com.br> LazSolutions - <code.google.com/p/lazsolutions> LazWebSolutions - <github.com/silvioprog/lazwebsolutions> ============================================

Reply by email