func ParseJSON(file []byte) Sequence {
	var sequence Sequence
	_ = json.Unmarshal([]byte(file), &sequence)
	legacyFeatures := sequence.Features
	sequence.Features = []Feature{}

	for _, feature := range legacyFeatures {
		sequence.AddFeature(feature)
	}
	return sequence
}
// ParseJSON parses an Sequence JSON file and adds appropriate pointers to struct.
ParseJSON parses an Sequence JSON file and adds appropriate pointers to struct.
// ParseJSON parses an Sequence JSON file and adds appropriate pointers to struct .
func ParseJSON(file []byte) Sequence {
	var sequence Sequence
	_ = json.Unmarshal([]byte(file), &sequence)
	legacyFeatures := sequence.Features
	sequence.Features = []Feature{}
	for _, feature := range legacyFeatures {
		sequence.AddFeature(feature)
	}
	return sequence
}
func ParseJSON ( file [ ] byte ) Sequence { var sequence Sequence _ = json . Unmarshal ( [ ] byte ( file ) , & sequence ) legacyFeatures := sequence . Features sequence . Features = [ ] Feature { } for _ , feature := range legacyFeatures { sequence . AddFeature ( feature ) } return sequence }
ParseJSON parses an Sequence JSON file and adds appropriate pointers to struct.
ParseJSON parses an Sequence JSON file and adds appropriate pointers to struct .