Projects tagged ‘serialization’


[21 total ]

68USERS
   

XStream is a simple library to serialize objects to XML and back again. Features: Ease of use, no mappings, performance, clean XML, no modifications to classes, integration with XML libraries, full object graph support, customizable conversion strategies.

11USERS
   

Efficient, pure binary serialisation using lazy ByteStrings. Haskell values may be encoded to and form binary formats, written to disk as binary, or sent over the network. Serialisation speeds of over 1 G/sec have been observed, so this library should be suitable for high performance scenarios.

6USERS
 

An Object-Oriented networking framework for Java primarily focused toward game development. The general concept is the utilization of Message objects that are essentially beans that are streamed over the network utilizing NIO.

4USERS
 

eden is a serializer/deserializer library using a subset of the ECMAScript notation, it allows to exchange and interpret data keeping the structure and the type.

4USERS
 

JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans. It is based on the work by Douglas Crockford in http://www.json.org/java. Includes support for Groovy and JRuby as well.

3USERS
 

Reverspring is a Java library that allows you to create Spring IoC XML files from POJO at runtime, with detailed configuration about what to add in the descriptor and how to write it.

2USERS

YASLI stands for Yet Another Serialization LIbrary. Features: * Simple user interface, including single method for both storing and loading (intrusive way). * Non-intrusive way is also supported - for serialization of classes from third ... [More] party libraries. * Lookup of named elements. You can reorder, insert, and remove members maintaining backward compatibility with old format. * TextOArchive/TextIArchive. Store data in compact, human-readable text format. * Combined generic and abstract approach allows simple addition of archive types. PropertyTree (GUI with wxWidgets) is currently under development. [Less]

1USERS

StaxMate is a light-weight framework that adds convenience to streaming XML-processing without significant additional overhead. It builds on top of StAX (JSR-173) compliant processors such as Woodstox , and offers two basic abstractions: * Cursors, which build on XMLStreamReaders * Output objects, which build on XMLStreamWriters.

1USERS

Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.

0USERS

JSON-JRuby is a port of Florian Frank's native json library to JRuby.

0USERS
 

An implementation of the JSON specification according to RFC 4627 for Ruby. Includes a (very fast) native implementation, written in C, and a pure Ruby implementation. Also includes a GTK+ GUI tool for editing JSON. This library is part of Ruby 1.9's standard library.

0USERS

SummaryJsonExSerializer is a serializer/deserializer framework for C# that uses JSON format for its storage format. A small number of extensions are added to facilitate correct reconstruction of the object upon deserialization. It is mainly ... [More] intended to serialize objects to and from a storage medium, but it fully supports being used in an AJAX/web environment as well. See the SetJsonStrictOptions on the extensions page for how to turn off the extensions if transmitting to a browser. See the Tutorial and Usage pages for examples on how to use it. Why?I wanted a framework that I could use to persist objects to disk. I also wanted something that was human readable and easy to edit. Binary serialization is not human readable, and I didn't want to use xml because I found it too verbose for this purpose. I examined a few other JSON packages, but found nothing that could recreate the object graph exactly as it was deserialized. Especially if normal OO techniques such as inheritance were used. None of the implementations could handle references as well, which was pretty important to me. FeaturesEasy to use: Serialize an object in about 2-3 lines of code. Deserialize objects exactly as you serialized them with References intact Supports classes, structs, Generics, properties and public fields Support for constructors with arguments Serialization can be controlled programmatically, with .NET attributes, or using app.config Easy customization, just create a different object to serialize which could be a Dictionary, String, ArrayList or any other type that you choose Formatted output by default so its easy to read, or you can serialize it compactly if you choose Can be customized to use your own factories or dependency injection frameworks when constructing objects IssuesBug reports can be submitted to the issue log. Issues or questions about JsonExSerializer can be posted to the JsonExSerializer discussion group. Release StatusRelease 2.1.1 fixes a couple of minor issues. See ReleaseNotes for more details. See the wiki for more Usage and explanation of features. [Less]

0USERS

A KML library that uses XML Serialization to load and save KML documents to/from files. All KML classes will be represented using real C# objects that work with the standard XmlSerializer. This approach differs from other approaches that use string parsing or DOM manipulation and tends to be more object-oriented.

0USERS

ROCKET GWT FRAMEWORKThe Rocket GWT library/framework consists of a number of components that can assist developers get more out of GWT. A variety of modules exist each performing a specialised task. Each module contains many tests that not only ... [More] make sure it works but also provide a value source of info on how to use the said feature. Each download includes a demo.html (download,unzip and run) page that lists all runnable demos. Module Comments Wiki Tests/Demos rocket.beans.Beans Brings many of the Ioc features found in Spring to clientside GWT applications Yes lots rocket.browser.Browser A small collection of helper methods related to the browser No none rocket.collection.Collection Collection related helper methods, also contains some of the java.util.Collection methods not yet emulated. no few rocket.dom.Dom Mostly helper methods related to the dom not yet part of GWT's DOM class no none rocket.dragndrop Drag n Drop support no yes a demo is available rocket.events.Events An exciting richer event model built ontop of GWT's Event yes try rocket.widget.test.basicwidgets.client.BasicWidgetsTest rocket.generator.Generator A richer abstraction to generating class. No more printing of java source with this abstraction yes lots rocket.json.Json Serialize JSON to java objects and vice versa. yes lots gwt unit tests rocket.logging.Logging A log4j like logging framework on the client, supporting loggers with individual levels and implementations as well as globally including or excluding all logging statements. yes lots of tests rocket.messaging.Messaging A simple message delivery system supports topics, queues no none rocket.remoting.Remoting Support for comet(server push), json rpc, java rpc ((using rocket's serialization) yes lots rocket.selection.Selection Programmatic access to user browser selections ( selection portions of a web by mouse dragging ) yes demo rocket.serialization.Serialization A richer more easily extended java serialization framework no lots rocket.style.Style Support for cross browser inline, computed (runtime), rule style manipulation using standard css names yes lots rocket.testing.Testing Support for writing interactive function unit tests no several demos rocket.text.Text Text related utilities no some rocket.util.Util Lots of misc utility methods including web mode stacktrace support some lots rocket.widget.Widgets Lots of widgets and authoring aides no lots of demos A bit more info about the Widgets. Basic widgets - Does everything the equivalent GWT widgets plus also accept Elements from the DOM. Template based widget and panel authoring. To hijack existing elements, sinking events, styling just override the appropriate method. Calendar - A easy to use template based Calendar widget. Easy to right your own DatePicker etc. HtmlTemplateFactory - hijack elements from the DOM, embed files, execute templates on the client. ImageFactory - smart use of data urls for images whenever possible. Menu - includes a context menu, control which way lists open up,down,left and right. ResizablePanel a panel that has draggable edges that stretch the widget its holding. Slider - slides which include support for a background widget. SortableTable - a multi column sortable table that maps value objects to table rows. TabPanel richer tab panels widget. Viewport - create a google map tile based draggable viewport. If anything doesnt work, has a bug, could be improved, or you have a suggestion or something to contribute feel free to post to the group or email. Feel free to also contact me if you want to sponsor the project but taking advantage of our professional services. [Less]

0USERS

Okay, it's pretty easy to instantiate objects in Java through standard reflection. However there are many cases where you need to go beyond what reflection provides. For example, if there's no public constructor, you want to bypass the constructor ... [More] code, or set final fields. There are numerous clever (but fiddly) approaches to getting around this and this library provides a simple way to get at them. You will find the official site here. [Less]

0USERS

Harpoon is an universal, programmer-friendly data expression language, designed to provide one syntax for all range of documents, configuration files and even for scripts and programs.

0USERS

Gson is a Java library that can be used to convert Java Objects into its JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you ... [More] do not have source-code of. There are a few open-source projects that can convert Java objects to JSON. However, most of them require that you place Java annotations in your classes something that you can not do if you do not have access to the source-code. Most also do not fully support the use of Java Generics. Gson considers both of these as very important design goals. Gson Goals Provide simple toJson() and fromJson() methods to convert Java objects to JSON and vice-versa Allow pre-existing unmodifiable objects to be converted to and from JSON Extensive support of Java Generics Allow custom representations for objects Support arbitrarily complex objects (with deep inheritance hierarchies and extensive use of generic types) Get Gson You can download the Gson bundle from the download link on the right If you use Maven2, you can get Gson from Gson maven repository. Use groupId: com.google.code.gson, and artifactId: gson. Here are detailed instructions on how to specify Gson dependency in pom.xml. We are working to make Gson available in the Maven2 central repository as well. Gson Documentation Gson API: JavaDocs for the current Gson release Gson user guide: This guide contains examples on how to use Gson in your code. Gson Roadmap: Details on upcoming releases. Gson design document: This document discusses issues we faced while designing Gson. It also include a comparison of Gson with other Java libraries that can be used for Json conversion Please use the google-gson Google Group to discuss Gson, or to post questions. [Less]

0USERS

IntroductionL'API ObjectServer permet d'échanger des objets Java entre plusieurs applications. L'architecture est basée sur la nouvelle librairie d'entrées/sorties (nio) de Java permettant ainsi une meilleure montée en charge (scalable) que les ... [More] systèmes utilisant l'api io standard. ContactVous pouvez me contacter à sebastien_288@yahoo.fr pour toutes questions/problèmes ou suggestions. Si vous utilisez cette librairie, n'hesitez pas à me laisser vos remarques et commentaires. FonctionnalitésEntrées / Sorties asynchrones avec la librairie (nio) Echange d'objets java sur des connections TCP/IP (mécanisme de sérialisation et dé-sérialisation) Possibilité d'activer des communications sécurisées avec le protocole SSL Possibilité de compresser les données transmises sur le réseau avec l'algorithme GZip Possibilité de connections entre services locaux (au sein d'une même VM), évitant sérialisation & transport réseaux Instrumentation possible grâce au support de JMX Empreinte mémoire restreinte, pas d'allocation mémoire spécifique à une connection (sauf pour les écouteurs) Gestion fine des threads (nombre de threads indépendant du nombre de connections) Mise en queue des demandes d'écriture (pas de rétention lors d'une écriture) Empilable, plusieurs services peuvent cohabiter au sein de la même JVM et se partager l'accés aux threads d'executions. Diagramme de classes (vue simplifiée) [Less]

0USERS

CustomXMLSerialization is a Ruby on Rails plug-in that allows you more freedom in how your model objects are serialized using the to_xml method in ActiveRecord::XmlSerialization. Your ActiveRecord subclasses can specify a complete custom ... [More] serialization, without having to override to_xml in each object. You can specify exactly which fields to include in a serialization, apply custom tag names, enclose data in CDATA constructs, and unwrap superfluous second-level associations into more brief first-level fields. For more information and examples of usage, visit the overview page at http://code.google.com/p/custom-xml-serialization/wiki/Overview [Less]

0USERS

as3yaml is an Actionscript 3 YAML 1.1 parser and emitter. It is a direct port of Ola Bini's jvyaml, which was itself a port of Kirill Simonov's PyYAML. Click here to view the docs as3yaml is licensed under the MIT open source license. It utilizes the as3commons library which is licensed under the MPL open source license.

0USERS

NewsApr 21 - hiberlite v0.6 released! Check our downloads hiberliteC++ object-relational mapping with API inspired by the Boost.Serialization - that means almost no API to learn. In contrast to most serialization libraries with SQL serializers ... [More] , C++ objects mapped with hiberlite behave similar to active record pattern - you are not forced to follow the "read all your data/modify some small part/write everything back" path. For people who need reliable data storage, ACID transactions, simple random-access to their data files, and don't like coding in SQL. For the quick introduction read the tutorial. [Less]