Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Convert custom class to json
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
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
[DELETED]
by
Fred vS
[
Today
at 02:55:15 am]
fpc 3.3.1 or lazarus 2.3 ...
by
dbannon
[
Today
at 02:24:06 am]
InterProcessCommunication...
by
tetrastes
[
Today
at 01:47:25 am]
StrComp problem
by
KodeZwerg
[
Today
at 01:36:55 am]
CompareText improvement
by
BeniBela
[
Today
at 01:25:35 am]
SQL - looks easy but I ca...
by
rvk
[
Today
at 12:55:32 am]
Variables as indexes of a...
by
Fred vS
[
Today
at 12:35:15 am]
Save the same key ini fil...
by
BIT
[March 31, 2023, 11:45:04 pm]
Dark Theme in my program?
by
domasz
[March 31, 2023, 11:17:00 pm]
How to access and set pro...
by
KodeZwerg
[March 31, 2023, 11:08:02 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Convert custom class to json (Read 180 times)
Prakash
Jr. Member
Posts: 59
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: 1236
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