Code Monkey home page Code Monkey logo

json_archive's Introduction

Hi, I'm Greedysky👋

I am a C++/Qt/Linux/Python Programmer from China.

⚡ Technologies

C  C++  Qt  Linux  Python 

Git  GitHub  GitLab  Gitee  Markdown  VS  QtCreator 

✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨

⚡ Visitor count

json_archive's People

Contributors

greedysky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

json_archive's Issues

Licensing question

Hi, this looks really powerful, Boost is way overdue for a json option on the serialization library. Have you considered using the Boost license instead of GPL v3?

can't stream directly in archive within serialize function

When I deliver a namevalue pair to the archive it works fine. However if I stream a value directly: e.g. ar& someObject, then I get a unresolved external symbol error. Also with the examples from the boost library:
https://www.boost.org/doc/libs/1_79_0/libs/serialization/doc/tutorial.html#arrays

I'm not fluent in c++ myself for now, to suggest a fix...

does not work:
void serialize(Archive& ar, const unsigned int version)
{
ar& stops;
}

works:

void serialize(Archive& ar, const unsigned int version)
{
ar& BOOST_SERIALIZATION_NVP(stops);
}

using msvc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.