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
Download with progressbar
by
KodeZwerg
[
Today
at 11:09:49 am]
TJSONObject : Whether obj...
by
paweld
[
Today
at 10:44:38 am]
Application can't access ...
by
Vodnik
[
Today
at 10:39:26 am]
Immutable = Pointer?
by
marcov
[
Today
at 10:38:49 am]
Using old LCL
by
MarkMLl
[
Today
at 10:30:51 am]
Cross AND normal compilat...
by
Escain
[
Today
at 10:09:12 am]
TThread - How to stop a t...
by
alpine
[
Today
at 10:04:17 am]
Compare two text lines an...
by
totya
[
Today
at 09:51:19 am]
inverse kinematics in pas...
by
PierceNg
[
Today
at 09:34:48 am]
Hidden controls inside of...
by
Handoko
[
Today
at 09:23:17 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Convert custom class to json (Read 162 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: 977
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