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

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

#include <jsonv/config.hpp>
#include <jsonv/serialization/deserialize.hpp>
#include "deserializer_for.hpp"
#include <concepts>
#include <expected>
#include <type_traits>
#include <utility>
+ Include dependency graph for function_deserializer.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jsonv::function_deserializer< T, FDeserialize >
 A deserializer which calls a function to perform deserialization. More...
 

Functions

template<typename FDeserialize >
auto jsonv::make_deserializer (FDeserialize func) -> function_deserializer< detail::deserialize_function_result_t< FDeserialize >, FDeserialize >
 Create a deserializer from func, deducing what it deserializes from its return type.
 

Detailed Description

Copyright (c) 2015-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 function_deserializer.hpp.