Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::Cli::anonymous_namespace{common.cpp} Namespace Reference

Functions

void writeTo (FILE *stream, const QString &text)
 Writes text to stream in UTF-8.
QString pyNumber (double d)
 A JSON number as Python shows it: an integer without a fraction, otherwise its shortest representation.
QString pyQuote (const QString &text)
 text as Python's repr() quotes it.
QString jsonQuote (const QString &text)
 text as a JSON string with only ASCII in it, as json.dumps() writes it.