Giter Site home page Giter Site logo

mtrempoltsev / pods Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 2.0 292 KB

Fast and simple C++ serializer

License: MIT License

CMake 2.04% C++ 88.36% Shell 0.54% Batchfile 0.59% C 8.47%
binary c-plus-plus json serializable-objects serialization serialization-library

pods's People

Contributors

chiezero avatar mtrempoltsev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pods's Issues

Ускорить ReadOnlyStreamStorage

WriteOnlyStreamStorage использует буфер и его производительность хороша, но ReadOnlyStreamStorage не имеет буфера и читает напрямую из std::istream, поэтому производительность неудовлетворительна. Нужно использовать буфер.

Add Json DOM parser

This is need for field order independent parsing. More slower but more friendly for manual Json editing.

Consider changing (or redocumenting) the example on the main page

Hi,

I haven't used PODs before, so the first place I'm looking at documentation to get an idea of how difficult or eays it will be ot integrate it into my application is the example on the main readme in the repo.

When I first glossed over it, considering a few different libraries ot use for my project, I got the impression that PODS required a server internally to function - perhaps underneath, the library was setting one up to receive data in the background, etc. etc.

I now realise that this is just because the sort of data we are storing is a list of servers, but this wasn't immediately obvious. Therefore, I think it would be a good idea to add a note on this line explaining what we're doing, or pick a different example of domain data to show on the main page of the repository (something more obvious as an example., like fruits, animals or planets), as without having seen the library before, intermingling Server code and PODS code, it gave me the impression PODs required some sort of more complex Server structure in order to work, and thus it would need a lot more work involved in getting it to work than it really will.

Добавить еще один тип Binary

Сейчас можно сериализовать бинарные данные указав тип-обертку Binary. Она по сути указатель на фиксированный блок памяти, но иногда надо чтобы при десереализации можно было увеличить размер памяти.

Добавить тип Blob

Чтобы в JSON сериализовать бинарные данные нужно добавить специальный тип. Пример:

struct Blob
{
    char* data;
    size_t size;
};

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.