OpenMS
Loading...
Searching...
No Matches
ProFormaDataJson.h File Reference
#include <OpenMS/CHEMISTRY/ProForma.h>
#include <nlohmann/json.hpp>
Include dependency graph for ProFormaDataJson.h:

Go to the source code of this file.

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 

Functions

CvDatabase enum JSON serialization
void to_json (nlohmann::json &j, const ProForma::CvDatabase &db)
 Convert CvDatabase enum to JSON string.
 
void from_json (const nlohmann::json &j, ProForma::CvDatabase &db)
 Construct CvDatabase enum from JSON string.
 
CvAccession JSON serialization
void to_json (nlohmann::json &j, const ProForma::CvAccession &cv)
 Convert CvAccession to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::CvAccession &cv)
 Construct CvAccession from JSON object.
 
NamedMod JSON serialization
void to_json (nlohmann::json &j, const ProForma::NamedMod &nm)
 Convert NamedMod to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::NamedMod &nm)
 Construct NamedMod from JSON object.
 
ProForma::MassDelta::Source enum JSON serialization
void to_json (nlohmann::json &j, const ProForma::MassDelta::Source &src)
 Convert ProForma::MassDelta::Source enum to JSON string.
 
void from_json (const nlohmann::json &j, ProForma::MassDelta::Source &src)
 Construct ProForma::MassDelta::Source enum from JSON string.
 
MassDelta JSON serialization
void to_json (nlohmann::json &j, const ProForma::MassDelta &md)
 Convert MassDelta to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::MassDelta &md)
 Construct MassDelta from JSON object.
 
FormulaTag JSON serialization
void to_json (nlohmann::json &j, const ProForma::FormulaTag &ft)
 Convert FormulaTag to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::FormulaTag &ft)
 Construct FormulaTag from JSON object.
 
ProForma::GlycanComposition::Monosaccharide JSON serialization
void to_json (nlohmann::json &j, const ProForma::GlycanComposition::Monosaccharide &mono)
 Convert Monosaccharide variant to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::GlycanComposition::Monosaccharide &mono)
 Construct Monosaccharide variant from JSON object.
 
GlycanComposition JSON serialization
void to_json (nlohmann::json &j, const ProForma::GlycanComposition &gc)
 Convert GlycanComposition to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::GlycanComposition &gc)
 Construct GlycanComposition from JSON object.
 
InfoTag JSON serialization
void to_json (nlohmann::json &j, const ProForma::InfoTag &it)
 Convert InfoTag to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::InfoTag &it)
 Construct InfoTag from JSON object.
 
PositionConstraint JSON serialization
void to_json (nlohmann::json &j, const ProForma::PositionConstraint &pc)
 Convert PositionConstraint to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::PositionConstraint &pc)
 Construct PositionConstraint from JSON object.
 
ModificationTag variant JSON serialization
void to_json (nlohmann::json &j, const ProForma::ModificationTag &tag)
 Convert ModificationTag variant to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::ModificationTag &tag)
 Construct ModificationTag variant from JSON object.
 
ProForma::Label::Type enum JSON serialization
void to_json (nlohmann::json &j, const ProForma::Label::Type &lt)
 Convert ProForma::Label::Type enum to JSON string.
 
void from_json (const nlohmann::json &j, ProForma::Label::Type &lt)
 Construct ProForma::Label::Type enum from JSON string.
 
Label JSON serialization
void to_json (nlohmann::json &j, const ProForma::Label &lbl)
 Convert Label to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::Label &lbl)
 Construct Label from JSON object.
 
Modification JSON serialization
void to_json (nlohmann::json &j, const ProForma::Modification &mod)
 Convert Modification to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::Modification &mod)
 Construct Modification from JSON object.
 
SequenceElement JSON serialization
void to_json (nlohmann::json &j, const ProForma::SequenceElement &se)
 Convert SequenceElement to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::SequenceElement &se)
 Construct SequenceElement from JSON object.
 
AmbiguousRegion JSON serialization
void to_json (nlohmann::json &j, const ProForma::AmbiguousRegion &ar)
 Convert AmbiguousRegion to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::AmbiguousRegion &ar)
 Construct AmbiguousRegion from JSON object.
 
ModifiedRange JSON serialization
void to_json (nlohmann::json &j, const ProForma::ModifiedRange &mr)
 Convert ModifiedRange to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::ModifiedRange &mr)
 Construct ModifiedRange from JSON object.
 
SequenceSection variant JSON serialization
void to_json (nlohmann::json &j, const ProForma::SequenceSection &ss)
 Convert SequenceSection variant to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::SequenceSection &ss)
 Construct SequenceSection variant from JSON object.
 
UnlocalisedMod JSON serialization
void to_json (nlohmann::json &j, const ProForma::UnlocalisedMod &um)
 Convert UnlocalisedMod to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::UnlocalisedMod &um)
 Construct UnlocalisedMod from JSON object.
 
LabileModification JSON serialization
void to_json (nlohmann::json &j, const ProForma::LabileModification &lm)
 Convert LabileModification to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::LabileModification &lm)
 Construct LabileModification from JSON object.
 
GlobalModification JSON serialization
void to_json (nlohmann::json &j, const ProForma::GlobalModification &gm)
 Convert GlobalModification to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::GlobalModification &gm)
 Construct GlobalModification from JSON object.
 
IsotopeReplacement JSON serialization
void to_json (nlohmann::json &j, const ProForma::IsotopeReplacement &ir)
 Convert IsotopeReplacement to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::IsotopeReplacement &ir)
 Construct IsotopeReplacement from JSON object.
 
GlobalModEntry variant JSON serialization
void to_json (nlohmann::json &j, const ProForma::GlobalModEntry &gme)
 Convert GlobalModEntry variant to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::GlobalModEntry &gme)
 Construct GlobalModEntry variant from JSON object.
 
AdductIon JSON serialization
void to_json (nlohmann::json &j, const ProForma::AdductIon &ai)
 Convert AdductIon to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::AdductIon &ai)
 Construct AdductIon from JSON object.
 
ChargeState variant JSON serialization
void to_json (nlohmann::json &j, const ProForma::ChargeState &cs)
 Convert ChargeState variant to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::ChargeState &cs)
 Construct ChargeState variant from JSON object.
 
Peptidoform JSON serialization
void to_json (nlohmann::json &j, const ProForma::Peptidoform &pf)
 Convert Peptidoform to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::Peptidoform &pf)
 Construct Peptidoform from JSON object.
 
PeptidoformIon JSON serialization
void to_json (nlohmann::json &j, const ProForma::PeptidoformIon &pfi)
 Convert PeptidoformIon to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::PeptidoformIon &pfi)
 Construct PeptidoformIon from JSON object.
 
CrossLinkGroup JSON serialization
void to_json (nlohmann::json &j, const ProForma::CrossLinkGroup &clg)
 Convert CrossLinkGroup to JSON object.
 
void from_json (const nlohmann::json &j, ProForma::CrossLinkGroup &clg)
 Construct CrossLinkGroup from JSON object.