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
Automatically setting the...
by
seany
[
Today
at 09:03:31 am]
[SOLVED] Getting the Line...
by
seany
[
Today
at 08:57:50 am]
New VirtualTreeView for L...
by
af0815
[
Today
at 08:36:09 am]
Best way to parse file.
by
440bx
[
Today
at 08:32:41 am]
Make a Dynamic Shape Arra...
by
Boleeman
[
Today
at 07:48:37 am]
capture apl_exec stdout
by
TRon
[
Today
at 06:59:29 am]
Is there a function calle...
by
TRon
[
Today
at 06:48:32 am]
error release when memo.s...
by
dseligo
[
Today
at 05:40:29 am]
Controls inside the form ...
by
Ecsa
[
Today
at 04:02:37 am]
Theo's Searchbar plugin f...
by
Curt Carpenter
[
Today
at 03:54:33 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Convert custom class to json (Read 150 times)
Prakash
New Member
Posts: 47
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: 866
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