JSON Voorhees
Killer JSON for C++
Loading...
Searching...
No Matches
polymorphic_adapter.hpp File Reference

Copyright (c) 2017-2026 by Travis Gockel. More...

#include <jsonv/config.hpp>
#include <jsonv/demangle.hpp>
#include <jsonv/kind.hpp>
#include <jsonv/optional.hpp>
#include <jsonv/reader.hpp>
#include <jsonv/serialization.hpp>
#include <expected>
#include <functional>
#include <optional>
#include <set>
#include <string>
#include <utility>
#include "adapter_for.hpp"
+ Include dependency graph for polymorphic_adapter.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jsonv::polymorphic_adapter< TPointer >
 An adapter which can create polymorphic types. More...
 

Enumerations

enum class  jsonv::keyed_subtype_action : unsigned char { keyed_subtype_action::none , keyed_subtype_action::check , keyed_subtype_action::insert }
 What to do when serializing a keyed subtype of a polymorphic_adapter. More...
 

Detailed Description

Copyright (c) 2017-2026 by Travis Gockel.

All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.

Author
Travis Gockel (travi.nosp@m.s@go.nosp@m.ckelh.nosp@m.ut.c.nosp@m.om)

Definition in file polymorphic_adapter.hpp.