Turi Create  4.0
decoder.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #include <model_server/lib/variant.hpp>
7 
8 namespace turi {
9  namespace JSON {
10  // flexible_type, flexible_type -> variant_type
11  // where the input is a pair (data, schema)
12  // as produced by JSON::to_serializable, and the
13  // output is the original underlying variant_type.
14  variant_type from_serializable(flexible_type data, variant_type schema);
15  }
16 }
boost::make_recursive_variant< flexible_type, std::shared_ptr< unity_sgraph_base >, dataframe_t, std::shared_ptr< model_base >, std::shared_ptr< unity_sframe_base >, std::shared_ptr< unity_sarray_base >, std::map< std::string, boost::recursive_variant_ >, std::vector< boost::recursive_variant_ >, boost::recursive_wrapper< function_closure_info > >::type variant_type
Definition: variant.hpp:24