src/rs/FamilyView.js
function(json){
    
    // Protect against forgetting the new keyword when calling the constructor
    if(!(this instanceof FamilyView)){
      return new FamilyView(json);
    }
    
    // If the given object is already an instance then just return it. DON'T copy it.
    if(FamilyView.isInstance(json)){
      return json;
    }
    
    this.init(json);
  }
function(json){
    
    // Protect against forgetting the new keyword when calling the constructor
    if(!(this instanceof FamilyView)){
      return new FamilyView(json);
    }
    
    // If the given object is already an instance then just return it. DON'T copy it.
    if(FamilyView.isInstance(json)){
      return json;
    }
    
    this.init(json);
  }
function ( json ) { // Protect against forgetting the new keyword when calling the constructor if ( ! ( this instanceof FamilyView ) ) { return new FamilyView ( json ) ; } // If the given object is already an instance then just return it. DON'T copy it. if ( FamilyView . isInstance ( json ) ) { return json ; } this . init ( json ) ; }
A view of a family that consists of up to two parents and a list of children
who have that set of parents in common. While the Relationship data type
carries the canonical information about the nature of the relationship
between the each pair of persons, the FamilyView is designed as a convenience
for display purposes.

{@link https://github.com/FamilySearch/gedcomx-rs/blob/master/specifications/rs-specification.md#family-view|GEDCOM X RS Spec}

@class FamilyView
@extends Base
@param {Object} [json]
A view of a family that consists of up to two parents and a list of children who have that set of parents in common . While the Relationship data type carries the canonical information about the nature of the relationship between the each pair of persons the FamilyView is designed as a convenience for display purposes .