Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Convert custom class to json
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TBits constructor
by
winni
[
Today
at 04:34:14 pm]
[UOS/PortAudio] Minimizin...
by
metis
[
Today
at 04:21:53 pm]
Nova Versão do Lazarus?
by
EMBarbosa
[
Today
at 03:58:06 pm]
Lines in different places...
by
wp
[
Today
at 03:55:42 pm]
mormot2 JSON + If + and =...
by
Joanna
[
Today
at 03:33:07 pm]
Google announces Bard as ...
by
BeniBela
[
Today
at 03:05:08 pm]
Circle - Syntax Error?
by
Fred vS
[
Today
at 02:55:14 pm]
[SOLVED] Version Info
by
Ally
[
Today
at 02:46:12 pm]
Can't set title and Previ...
by
HexLaden
[
Today
at 11:48:16 am]
After the fileopen operat...
by
KodeZwerg
[
Today
at 10:55:59 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Convert custom class to json (Read 160 times)
Prakash
Jr. Member
Posts: 50
Convert custom class to json
«
on:
December 05, 2022, 07:09:20 pm »
How to convert custom class to json
Logged
KodeZwerg
Hero Member
Posts: 968
Fifty shades of code.
Re: Convert custom class to json
«
Reply #1 on:
December 05, 2022, 07:17:58 pm »
Not hard to find.
Logged
«
Last Edit:
Tomorrow
at 31:76:97 by
KodeZwerg
»
Renat.Su
Full Member
Posts: 223
Re: Convert custom class to json
«
Reply #2 on:
December 05, 2022, 07:19:48 pm »
Code: Pascal
[Select]
[+]
[-]
JSONString
:
=
Streamer
.
ObjectToJSONString
(
o
)
from fpjsonrtti unit
Look at
https://wiki.lazarus.freepascal.org/Streaming_JSON
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Convert custom class to json
TinyPortal
© 2005-2018