gedcomx-php-client
  • Namespace
  • Class

Namespaces

  • Gedcomx
    • Agent
    • Atom
    • Common
    • Conclusion
    • Extensions
      • FamilySearch
        • Platform
          • Artifacts
          • Discussions
          • Tree
          • Users
        • Rs
          • Client
            • FamilyTree
            • Helpers
            • Memories
            • Util
        • Rt
        • Types
    • GedcomxFile
    • Links
    • Records
    • Rs
      • Client
        • Exception
        • Options
        • Util
    • Rt
    • Search
    • Source
    • Support
    • Types
    • Util
    • Vocab

Classes

  • DefaultJsonSerialization
  • DefaultXMLSerialization
  • GedcomxFile
  • GedcomxFileEntry
  • GedcomxOutput
  • Manifest
  • ManifestAttribute

Interfaces

  • GedcomxEntryDeserializer
  • GedcomxEntrySerializer

Exceptions

  • GedcomxFileException

Class DefaultJsonSerialization

A class for performing JSON serialization and deserialization.

Class DefaultJsonSerialization

Gedcomx\GedcomxFile\DefaultJsonSerialization implements Gedcomx\GedcomxFile\GedcomxEntrySerializer, Gedcomx\GedcomxFile\GedcomxEntryDeserializer
Namespace: Gedcomx\GedcomxFile
Package: Gedcomx\GedcomxFile
Located at GedcomxFile/DefaultJsonSerialization.php

Methods summary

public mixed
# deserialize( string $incoming )

Deserialize the resource from the specified input stream.

Deserialize the resource from the specified input stream.

Parameters

$incoming
The text to deserialize.

Returns

mixed
the resource.

Implementation of

Gedcomx\GedcomxFile\GedcomxEntryDeserializer::deserialize()
public
# serialize( mixed $resource )

Serialize the resource to the specified output stream.

Serialize the resource to the specified output stream.

Parameters

$resource

Implementation of

Gedcomx\GedcomxFile\GedcomxEntrySerializer::serialize()
public boolean
# isKnownContentType( string $contentType )

Whether the specified content type is a known content type and therefore does not need to be written to the entry attributes.

Whether the specified content type is a known content type and therefore does not need to be written to the entry attributes.

Parameters

$contentType
The content type.

Returns

boolean
Whether the content type is "known".

Implementation of

Gedcomx\GedcomxFile\GedcomxEntrySerializer::isKnownContentType()
gedcomx-php-client API documentation generated by ApiGen