gtopt/json/json_battery.hpp file

JSON serialization support for Battery objects.

This module provides JSON serialization and deserialization capabilities for Battery objects using the DAW JSON Link library. It defines a JSON data contract that maps Battery class members to their corresponding JSON fields, enabling seamless conversion between C++ objects and JSON representations.

The contract includes support for optional fields with null values and various numeric and string types that are commonly used in battery configuration and optimization scenarios.

Namespaces

namespace daw
namespace daw::json

Classes

template<>
struct daw::json::json_data_contract<Battery>