def get_serializer_json(id=1): queryset = element_property.objects.filter(pk=id) serializer = element_property_serializer(queryset, many=True) return (serializerJSON(serializer.data))
def get_serializer_json_OSCAL(self): queryset = element_property.objects.filter(pk=self.pk) serializer = element_property_serializer(queryset, many=True) return (serializerJSON(serializer.data, SSP=True))
def get_serializer_json_OSCAL(self): queryset = annotation.objects.filter(pk=self.pk) serializer = annotation_serializer(queryset, many=True) return (serializerJSON(serializer.data, SSP=True))
def get_serializer_json(id=1): queryset = annotation.objects.filter(pk=id) serializer = annotation_serializer(queryset, many=True) return (serializerJSON(serializer.data))
def get_serializer_json(id=1): queryset = link.objects.filter(pk=id) serializer = link_serializer(queryset, many=True) return (serializerJSON(serializer.data))
def get_serializer_json_OSCAL(self): queryset = hashed_value.objects.filter(pk=self.pk) serializer = hashed_value_serializer(queryset, many=True) return (serializerJSON(serializer.data, SSP=True))
def get_serializer_json(id=1): queryset = hashed_value.objects.filter(pk=id) serializer = hashed_value_serializer(queryset, many=True) return (serializerJSON(serializer.data))